You are here

public function PluginSettingsInterface::setSetting in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Field/PluginSettingsInterface.php \Drupal\Core\Field\PluginSettingsInterface::setSetting()

Sets the value of a setting for the plugin.

Parameters

string $key: The setting name.

mixed $value: The setting value.

Return value

$this

1 method overrides PluginSettingsInterface::setSetting()
PluginSettingsBase::setSetting in core/lib/Drupal/Core/Field/PluginSettingsBase.php
Sets the value of a setting for the plugin.

File

core/lib/Drupal/Core/Field/PluginSettingsInterface.php, line 66
Contains \Drupal\Core\Field\PluginSettingsInterface.

Class

PluginSettingsInterface
Interface definition for plugin with settings.

Namespace

Drupal\Core\Field

Code

public function setSetting($key, $value);