Skip to main content

Basic Page

Description​

The Basic Page is typically used for content that is static, or rarely changes. An example commonly found on websites is an About Us page. These types of pages are most commonly linked to the menu bars within your website.

Fields​

NameTypeDefault ValueMultipleRequiredValidation
TitleText (Plain)NoYes
ParagraphsParagraphYesYes

Nextjs Get​


const homepage = await drupal.getResource<DrupalNode>(
"node--page",
"7fca8435-d06a-4e28-952a-40f38d7ad7d8",
{
params: {
include: "field_content , field_content.field_image, field_content.field_image.field_media_image, field_tags, field_teaser_image"
},
}
);
console.log(homepage);

Nextjs Get​