You are here

public function FieldWidgetDisplayBase::setConfiguration in Entity Browser 8.2

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

File

src/FieldWidgetDisplayBase.php, line 53

Class

FieldWidgetDisplayBase
Base implementation for field widget display plugins.

Namespace

Drupal\entity_browser

Code

public function setConfiguration(array $configuration) {
  $configuration += $this
    ->defaultConfiguration();
  $this->configuration = $configuration;
}