Skip to main content

Qualifications

Description

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse viverra massa in dolor lobortis lobortis. Donec nec faucibus risus, ut scelerisque urna. Morbi consectetur dui ut posuere mattis. Morbi dapibus sapien at mi semper, a mollis lacus scelerisque. Donec eu dignissim urna. Curabitur aliquam ipsum posuere tortor sodales venenatis. Integer ut laoreet mi, vitae consectetur massa.

Fields

NameTypeDefault ValueMultipleRequiredValidation
TitleText (Formatted)NoYes
DateDate FieldNoYes

Nextjs Create


const paragraph_qualifications = await drupal.createResource<DrupalParagraph>("paragraph--qualifications", {
data: {
type: 'paragraph--qualifications',
attributes: {
field_qualification: [
{
value: 'Nobel award',
}
],
field_issue_date:"2023-05-09T11:58:07+03:00"
},
},
}, {
withAuth: {
username: process.env.DRUPAL_USERNAME,
password: process.env.DRUPAL_PASSWORD,
},
});

console.log(paragraph_qualifications);