public function PluginSettingsBase::getSettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
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 53 - Contains \Drupal\Core\Field\PluginSettingsBase.
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;
}