public static function TermLevelItem::defaultStorageSettings in Term Level Field 8
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/ TermLevelItem.php, line 28
Class
- TermLevelItem
- Plugin for Term level field type.
Namespace
Drupal\term_level\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'target_type' => 'taxonomy_term',
'levels' => '',
] + parent::defaultStorageSettings();
}