function EntityReferenceItem::defaultFieldSettings
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php \Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem::defaultFieldSettings()
- 10 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php \Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem::defaultFieldSettings()
- 11.x core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php \Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem::defaultFieldSettings()
Overrides FieldItemBase::defaultFieldSettings
1 call to EntityReferenceItem::defaultFieldSettings()
- FileItem::defaultFieldSettings in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - Defines the field-level settings for this plugin.
1 method overrides EntityReferenceItem::defaultFieldSettings()
- FileItem::defaultFieldSettings in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - Defines the field-level settings for this plugin.
File
-
core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php, line 57
Class
- EntityReferenceItem
- Defines the 'entity_reference' entity field type.
Namespace
Drupal\Core\Field\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'handler' => 'default',
'handler_settings' => [],
] + parent::defaultFieldSettings();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.