You are here

public function LayoutDefault::setConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::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 LayoutDefault::setConfiguration()
LayoutDefault::__construct in core/lib/Drupal/Core/Layout/LayoutDefault.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

core/lib/Drupal/Core/Layout/LayoutDefault.php, line 65

Class

LayoutDefault
Provides a default class for Layout plugins.

Namespace

Drupal\Core\Layout

Code

public function setConfiguration(array $configuration) {
  $this->configuration = NestedArray::mergeDeep($this
    ->defaultConfiguration(), $configuration);
}