function ConfigurableActionBase::setConfiguration

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::setConfiguration()
  2. 10 core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::setConfiguration()
  3. 11.x core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::setConfiguration()

Overrides ConfigurableInterface::setConfiguration

1 call to ConfigurableActionBase::setConfiguration()
ConfigurableActionBase::__construct in core/lib/Drupal/Core/Action/ConfigurableActionBase.php

File

core/lib/Drupal/Core/Action/ConfigurableActionBase.php, line 41

Class

ConfigurableActionBase
Provides a base implementation for a configurable Action plugin.

Namespace

Drupal\Core\Action

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.