public static function MenuLinkItem::defaultStorageSettings in Menu Link (Field) 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Field/FieldType/MenuLinkItem.php \Drupal\menu_link\Plugin\Field\FieldType\MenuLinkItem::defaultStorageSettings()
Defines the storage-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultStorageSettings
File
- src/
Plugin/ Field/ FieldType/ MenuLinkItem.php, line 76
Class
- MenuLinkItem
- Defines a menu link field type which stores the link, parent and menu.
Namespace
Drupal\menu_link\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'menu_link_per_translation' => FALSE,
] + parent::defaultStorageSettings();
}