function ShapeItem::defaultStorageSettings
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItem.php \Drupal\entity_test\Plugin\Field\FieldType\ShapeItem::defaultStorageSettings()
- 8.9.x core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItem.php \Drupal\entity_test\Plugin\Field\FieldType\ShapeItem::defaultStorageSettings()
- 10 core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItem.php \Drupal\entity_test\Plugin\Field\FieldType\ShapeItem::defaultStorageSettings()
Overrides FieldItemBase::defaultStorageSettings
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ ShapeItem.php, line 26
Class
- ShapeItem
- Defines the 'shape' field type.
Namespace
Drupal\entity_test\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'foreign_key_name' => 'shape',
] + parent::defaultStorageSettings();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.