public static function PluginSettingsBase::defaultSettings in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::defaultSettings()
- 9 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsInterface::defaultSettings
35 calls to PluginSettingsBase::defaultSettings()
- BooleanCheckboxWidget::defaultSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ BooleanCheckboxWidget.php - Defines the default settings for this plugin.
- CommentDefaultFormatter::defaultSettings in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - Defines the default settings for this plugin.
- DecimalFormatter::defaultSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ DecimalFormatter.php - Defines the default settings for this plugin.
- DescriptionAwareFileFormatterBase::defaultSettings in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ DescriptionAwareFileFormatterBase.php - Defines the default settings for this plugin.
- EmailDefaultWidget::defaultSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ EmailDefaultWidget.php - Defines the default settings for this plugin.
41 methods override PluginSettingsBase::defaultSettings()
- BaseFieldFileFormatterBase::defaultSettings in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ BaseFieldFileFormatterBase.php - Defines the default settings for this plugin.
- BooleanCheckboxWidget::defaultSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ BooleanCheckboxWidget.php - Defines the default settings for this plugin.
- BooleanFormatter::defaultSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ BooleanFormatter.php - Defines the default settings for this plugin.
- CommentDefaultFormatter::defaultSettings in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - Defines the default settings for this plugin.
- DateRangeDatelistWidget::defaultSettings in core/
modules/ datetime_range/ src/ Plugin/ Field/ FieldWidget/ DateRangeDatelistWidget.php - Defines the default settings for this plugin.
File
- core/
lib/ Drupal/ Core/ Field/ PluginSettingsBase.php, line 41
Class
- PluginSettingsBase
- Base class for the Field API plugins.
Namespace
Drupal\Core\FieldCode
public static function defaultSettings() {
return [];
}