public static function FieldCollection::defaultStorageSettings in Field collection 8.3
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
- src/
Plugin/ Field/ FieldType/ FieldCollection.php, line 51
Class
- FieldCollection
- Plugin implementation of the 'field_collection' field type.
Namespace
Drupal\field_collection\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'target_type' => 'field_collection_item',
] + parent::defaultStorageSettings();
}