function PluginSettingsBase::getSettings
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getSettings()
- 8.9.x core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getSettings()
- 11.x core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getSettings()
Returns the array of settings, including defaults for missing settings.
Return value
array The array of settings.
Overrides PluginSettingsInterface::getSettings
File
-
core/
lib/ Drupal/ Core/ Field/ PluginSettingsBase.php, line 48
Class
- PluginSettingsBase
- Base class for the Field API plugins.
Namespace
Drupal\Core\FieldCode
public function getSettings() {
// Merge defaults before returning the array.
if (!$this->defaultSettingsMerged) {
$this->mergeDefaults();
}
return $this->settings;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.