You are here

public function EmptyFieldPluginBase::setConfiguration in Empty fields 8

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurableInterface::setConfiguration

File

src/EmptyFieldPluginBase.php, line 54

Class

EmptyFieldPluginBase
Defines a base empty field item implementation.

Namespace

Drupal\empty_fields

Code

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