public static function EntityBlockItem::defaultFieldSettings in Entityblock 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/ EntityBlockItem.php, line 32 - Contains \Drupal\entityblock\Plugin\Field\FieldType\EntityBlockItem.
Class
- EntityBlockItem
- Plugin implementation of the 'EntityBlock' field type.
Namespace
Drupal\entityblock\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return array(
'enabled' => 1,
'title' => DRUPAL_OPTIONAL,
'view_mode' => 'full',
) + parent::defaultFieldSettings();
}