You are here

public function Workflow::setSetting in Workflow 8

Sets the value of a setting for the plugin.

Parameters

string $key: The setting name.

mixed $value: The setting value.

Return value

$this

Overrides WorkflowInterface::setSetting

File

src/Entity/Workflow.php, line 553

Class

Workflow
Workflow configuration entity to persistently store configuration.

Namespace

Drupal\workflow\Entity

Code

public function setSetting($key, $value) {
  $this->options[$key] = $value;
  return $this;
}