public static function MenuItemId::defaultFieldSettings in Field Menu 8
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ MenuItemId.php, line 79
Class
- MenuItemId
- Plugin implementation of the 'field_menu' field type.
Namespace
Drupal\field_menu\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'menu_type_checkbox' => [],
] + parent::defaultFieldSettings();
}