FieldType::$default_widget
  • References/PHP/Drupal/Field/Annotation/FieldType

The plugin_id of the default widget for this field type. This widget must be available whenever the field type is available (i.e. provided by

2025-01-10 15:47:30
FieldType::$module
  • References/PHP/Drupal/Field/Annotation/FieldType

The name of the module providing the field type plugin. Type: string File

2025-01-10 15:47:30
FieldType::$list_class
  • References/PHP/Drupal/Field/Annotation/FieldType

The typed data class used for wrapping multiple data items of the type. Must implement the

2025-01-10 15:47:30
FieldType::$no_ui
  • References/PHP/Drupal/Field/Annotation/FieldType

A boolean stating that fields of this type cannot be created through the UI. Type: bool File

2025-01-10 15:47:30
FieldType::$default_formatter
  • References/PHP/Drupal/Field/Annotation/FieldType

The plugin_id of the default formatter for this field type. This formatter must be available whenever the field type is available (i.e. provided

2025-01-10 15:47:30
FieldType
  • References/PHP/Drupal/Field/Annotation/FieldType

Defines a FieldType annotation object. Additional annotation keys for field types can be defined in

2025-01-10 15:47:30
FieldType::$description
  • References/PHP/Drupal/Field/Annotation/FieldType

A short human readable description for the field type. Type:

2025-01-10 15:47:30
FieldType::$category
  • References/PHP/Drupal/Field/Annotation/FieldType

The category under which the field type should be listed in the UI. Type:

2025-01-10 15:47:30
FieldType::$id
  • References/PHP/Drupal/Field/Annotation/FieldType

The plugin ID. Type: string Overrides

2025-01-10 15:47:30
FieldType::$label
  • References/PHP/Drupal/Field/Annotation/FieldType

The human-readable name of the field type. Type:

2025-01-10 15:47:30