You are here

public static function PluginSettingsBase::defaultSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

36 calls to PluginSettingsBase::defaultSettings()
AggregatorTitleFormatter::defaultSettings in core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorTitleFormatter.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.
CommentDefaultFormatter::defaultSettings in core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php
Defines the default settings for this plugin.
DateTimeDatelistWidget::defaultSettings in core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php
Defines the default settings for this plugin.
DateTimeFormatterBase::defaultSettings in core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
Defines the default settings for this plugin.

... See full list

37 methods override PluginSettingsBase::defaultSettings()
AggregatorTitleFormatter::defaultSettings in core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorTitleFormatter.php
Defines the default settings for this plugin.
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.

... See full list

File

core/lib/Drupal/Core/Field/PluginSettingsBase.php, line 46
Contains \Drupal\Core\Field\PluginSettingsBase.

Class

PluginSettingsBase
Base class for the Field API plugins.

Namespace

Drupal\Core\Field

Code

public static function defaultSettings() {
  return array();
}