public static function EntityReferenceLayoutRevisioned::defaultFieldSettings in Entity Reference with Layout 8
Get defaults settings.
Overrides EntityReferenceItem::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ EntityReferenceLayoutRevisioned.php, line 215
Class
- EntityReferenceLayoutRevisioned
- Entity Reference Layout Revisioned field type.
Namespace
Drupal\entity_reference_layout\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
$settings = parent::defaultFieldSettings();
$settings['handler_settings']['layout_bundles'] = [];
$settings['handler_settings']['allowed_layouts'] = [];
return $settings;
}