You are here

public function DisplayBase::setConfiguration in Entity Browser 8

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

File

src/DisplayBase.php, line 123

Class

DisplayBase
Base implementation for display plugins.

Namespace

Drupal\entity_browser

Code

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