You are here

public function WorkflowTypeBase::setConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::setConfiguration()

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

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();
}