public static function InlineEntityFormBase::defaultSettings in Inline Entity Form 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
1 call to InlineEntityFormBase::defaultSettings()
- InlineEntityFormComplex::defaultSettings in src/
Plugin/ Field/ FieldWidget/ InlineEntityFormComplex.php - Defines the default settings for this plugin.
1 method overrides InlineEntityFormBase::defaultSettings()
- InlineEntityFormComplex::defaultSettings in src/
Plugin/ Field/ FieldWidget/ InlineEntityFormComplex.php - Defines the default settings for this plugin.
File
- src/
Plugin/ Field/ FieldWidget/ InlineEntityFormBase.php, line 215
Class
- InlineEntityFormBase
- Inline entity form widget base class.
Namespace
Drupal\inline_entity_form\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'form_mode' => 'default',
'revision' => FALSE,
'override_labels' => FALSE,
'label_singular' => '',
'label_plural' => '',
'collapsible' => FALSE,
'collapsed' => FALSE,
];
}