function PluginSettingsBase::setSetting
Overrides PluginSettingsInterface::setSetting
2 calls to PluginSettingsBase::setSetting()
- ImageFormatter::onDependencyRemoval in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageFormatter.php - Informs the plugin that some configuration it depends on will be deleted.
- ImageWidget::onDependencyRemoval in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - Informs the plugin that some configuration it depends on will be deleted.
File
-
core/
lib/ Drupal/ Core/ Field/ PluginSettingsBase.php, line 87
Class
- PluginSettingsBase
- Base class for the Field API plugins.
Namespace
Drupal\Core\FieldCode
public function setSetting($key, $value) {
$this->settings[$key] = $value;
return $this;
}