function PluginSettingsInterface::defaultSettings

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/PluginSettingsInterface.php \Drupal\Core\Field\PluginSettingsInterface::defaultSettings()
  2. 8.9.x core/lib/Drupal/Core/Field/PluginSettingsInterface.php \Drupal\Core\Field\PluginSettingsInterface::defaultSettings()
  3. 10 core/lib/Drupal/Core/Field/PluginSettingsInterface.php \Drupal\Core\Field\PluginSettingsInterface::defaultSettings()

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

1 method overrides PluginSettingsInterface::defaultSettings()
PluginSettingsBase::defaultSettings in core/lib/Drupal/Core/Field/PluginSettingsBase.php
Defines the default settings for this plugin.

File

core/lib/Drupal/Core/Field/PluginSettingsInterface.php, line 22

Class

PluginSettingsInterface
Interface definition for plugin with settings.

Namespace

Drupal\Core\Field

Code

public static function defaultSettings();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.