function WorkflowTypeBase::setConfiguration

Same name and namespace in other branches
  1. 8.9.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::setConfiguration()
  2. 10 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::setConfiguration()
  3. 11.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::setConfiguration()

Overrides ConfigurableInterface::setConfiguration

1 call to WorkflowTypeBase::setConfiguration()
WorkflowTypeBase::__construct in core/modules/workflows/src/Plugin/WorkflowTypeBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

core/modules/workflows/src/Plugin/WorkflowTypeBase.php, line 70

Class

WorkflowTypeBase
A base class for Workflow type plugins.

Namespace

Drupal\workflows\Plugin

Code

public function setConfiguration(array $configuration) {
    $this->configuration = $configuration + $this->defaultConfiguration();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.