public static function ViewsReferenceItem::defaultStorageSettings in Views Reference Field 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldType/ViewsReferenceItem.php \Drupal\viewsreference\Plugin\Field\FieldType\ViewsReferenceItem::defaultStorageSettings()
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/ ViewsReferenceItem.php, line 33
Class
- ViewsReferenceItem
- Defines the 'viewsreference' entity field type.
Namespace
Drupal\viewsreference\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'target_type' => 'view',
] + parent::defaultStorageSettings();
}