Skip to main content

Article

Description

This entity is used to hold time-sensitive content like news, press releases or blog posts. Articles can be categorized into the following categories:

  • Career Advice
  • For Employers
  • Press Releases
  • Interviews
  • Other

For more info visit Article Categories.

Fields

NameTypeDefault ValueMultipleRequiredValidation
TitleText (Plain)NoYes
Teaser ImageReference (Image)NoYes
CategoryReference (Taxonomy Term Article Categories)NoYes
BodyText (Formatted, long)NoYes
ParagraphReference (Article Paragraph)NoYes

Nextjs Get


const article = await drupal.getResource<DrupalNode>(
"node--article",
"d23c6142-094b-41c7-823d-53e701a695cd",
{
params: {
include: "field_content , field_content.field_image, field_content.field_image.field_media_image, field_tags, field_teaser_image"
},
}
);
console.log(article);