You are here

public function DrupalSqlBase::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

3 calls to DrupalSqlBase::setConfiguration()
DrupalSqlBase::__construct in src/Plugin/migrate/source/DrupalSqlBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
FieldCollectionType::setConfiguration in src/Plugin/migrate/source/d7/FieldCollectionType.php
ParagraphsType::setConfiguration in src/Plugin/migrate/source/d7/ParagraphsType.php
2 methods override DrupalSqlBase::setConfiguration()
FieldCollectionType::setConfiguration in src/Plugin/migrate/source/d7/FieldCollectionType.php
ParagraphsType::setConfiguration in src/Plugin/migrate/source/d7/ParagraphsType.php

File

src/Plugin/migrate/source/DrupalSqlBase.php, line 38

Class

DrupalSqlBase
Base Class for Paragraphs DrupalSqlBase migrate source plugins.

Namespace

Drupal\paragraphs\Plugin\migrate\source

Code

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