function PluginSettingsBase::getSettings
Same name 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()
Overrides PluginSettingsInterface::getSettings
5 calls to PluginSettingsBase::getSettings()
- LinkFormatter::buildUrl in core/
modules/ link/ src/ Plugin/ Field/ FieldFormatter/ LinkFormatter.php - Builds the \Drupal\Core\Url object for a link field item.
- LinkFormatter::settingsSummary in core/
modules/ link/ src/ Plugin/ Field/ FieldFormatter/ LinkFormatter.php - Returns a short summary for the current formatter settings.
- LinkFormatter::viewElements in core/
modules/ link/ src/ Plugin/ Field/ FieldFormatter/ LinkFormatter.php - Builds a renderable array for a field value.
- LinkSeparateFormatter::viewElements in core/
modules/ link/ src/ Plugin/ Field/ FieldFormatter/ LinkSeparateFormatter.php - Builds a renderable array for a field value.
- TelephoneLinkFormatter::settingsSummary in core/
modules/ telephone/ src/ Plugin/ Field/ FieldFormatter/ TelephoneLinkFormatter.php - Returns a short summary for the current formatter settings.
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.