function PluginSettingsBase::defaultSettings
Same name in other branches
- 9 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::defaultSettings()
- 8.9.x core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::defaultSettings()
- 10 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::defaultSettings()
Overrides PluginSettingsInterface::defaultSettings
40 calls to PluginSettingsBase::defaultSettings()
- BooleanCheckboxWidget::defaultSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ BooleanCheckboxWidget.php - CommentDefaultFormatter::defaultSettings in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - DateRangeDatelistWidget::defaultSettings in core/
modules/ datetime_range/ src/ Plugin/ Field/ FieldWidget/ DateRangeDatelistWidget.php - DateTimeDatelistWidget::defaultSettings in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDatelistWidget.php - DateTimeFormatterBase::defaultSettings in core/
modules/ datetime/ src/ Plugin/ Field/ FieldFormatter/ DateTimeFormatterBase.php
42 methods override PluginSettingsBase::defaultSettings()
- BaseFieldFileFormatterBase::defaultSettings in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ BaseFieldFileFormatterBase.php - BooleanCheckboxWidget::defaultSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ BooleanCheckboxWidget.php - BooleanFormatter::defaultSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ BooleanFormatter.php - CommentDefaultFormatter::defaultSettings in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - DateRangeDatelistWidget::defaultSettings in core/
modules/ datetime_range/ src/ Plugin/ Field/ FieldWidget/ DateRangeDatelistWidget.php
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 [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.