function PluginSettingsInterface::defaultSettings
Same name in other branches
- 9 core/lib/Drupal/Core/Field/PluginSettingsInterface.php \Drupal\Core\Field\PluginSettingsInterface::defaultSettings()
- 8.9.x core/lib/Drupal/Core/Field/PluginSettingsInterface.php \Drupal\Core\Field\PluginSettingsInterface::defaultSettings()
- 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\FieldCode
public static function defaultSettings();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.