Skip to content

Drupal Content Entity schema generator for Druxt with support for View and Form displays.

SchemaConfiguration

View source on GitHub

SchemaConfiguration : object

Druxt Schema configuration object.

Kind: global typedef
Properties

NameTypeDescription
bundlestringThe Drupal Entity bundle.
entityTypestringThe Drupal Entity type.
filterArray.<string>Array of regex strings used to filter the generated schema files.
modestringThe Drupal Display mode.
schemaType'view' | 'form'The Schema type.

Example

{
  bundle: 'page',
  entityType: 'node',
  filters: [],
  mode: 'default',
  schemaType: 'view'
}