You are here

public function Workflow::setSettings in Workflow 8

Sets the settings for the plugin.

Parameters

array $settings: The array of settings, keyed by setting names. Missing settings will be assigned their default values.

Return value

$this

Overrides WorkflowInterface::setSettings

File

src/Entity/Workflow.php, line 544

Class

Workflow
Workflow configuration entity to persistently store configuration.

Namespace

Drupal\workflow\Entity

Code

public function setSettings(array $settings) {
  $this->options = $settings;
  $this->defaultSettingsMerged = FALSE;
  return $this;
}