You are here

public function SelectionDisplayBase::setConfiguration in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/SelectionDisplayBase.php \Drupal\entity_browser\SelectionDisplayBase::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 SelectionDisplayBase::setConfiguration()
SelectionDisplayBase::__construct in src/SelectionDisplayBase.php
Constructs widget plugin.

File

src/SelectionDisplayBase.php, line 98

Class

SelectionDisplayBase
Base implementation for selection display plugins.

Namespace

Drupal\entity_browser

Code

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