You are here

public function WebformPluginSettingsInterface::setSetting in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformPluginSettingsInterface.php \Drupal\webform\Plugin\WebformPluginSettingsInterface::setSetting()

Sets a plugin setting for a given key.

Parameters

string $key: The key of the setting to be updated.

mixed $value: The value for the settings..

Return value

$this

File

src/Plugin/WebformPluginSettingsInterface.php, line 49

Class

WebformPluginSettingsInterface
An interface for managing a plugin's settings\.

Namespace

Drupal\webform\Plugin

Code

public function setSetting($key, $value);