You are here

public static function PluginSettingsInterface::defaultSettings in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/PluginSettingsInterface.php \Drupal\Core\Field\PluginSettingsInterface::defaultSettings()
  2. 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();