public property FieldType::$default_formatter in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/Annotation/FieldType.php \Drupal\Core\Field\Annotation\FieldType::default_formatter
- 9 core/lib/Drupal/Core/Field/Annotation/FieldType.php \Drupal\Core\Field\Annotation\FieldType::default_formatter
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 by the field type module, or by a module the field type module depends on).
Type: string
File
- core/
lib/ Drupal/ Core/ Field/ Annotation/ FieldType.php, line 80
Class
- FieldType
- Defines a FieldType annotation object.
Namespace
Drupal\Core\Field\AnnotationCode
public $default_formatter;