public static function IngredientItem::defaultStorageSettings in Recipe 8.2
Defines the storage-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides EntityReferenceItem::defaultStorageSettings
File
- modules/
ingredient/ src/ Plugin/ Field/ FieldType/ IngredientItem.php, line 30
Class
- IngredientItem
- Plugin implementation of the 'ingredient' field type.
Namespace
Drupal\ingredient\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'target_type' => 'ingredient',
] + parent::defaultStorageSettings();
}