You are here

public function FieldableEntity::setConfiguration in Paragraphs 8

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

1 call to FieldableEntity::setConfiguration()
FieldableEntity::__construct in src/Plugin/migrate/source/d7/FieldableEntity.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

src/Plugin/migrate/source/d7/FieldableEntity.php, line 38

Class

FieldableEntity
Base Class for Paragraphs FieldableEntity migrate source plugins.

Namespace

Drupal\paragraphs\Plugin\migrate\source\d7

Code

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