You are here

public function Spreadsheet::setConfiguration in Migrate Spreadsheet 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/migrate/source/Spreadsheet.php \Drupal\migrate_spreadsheet\Plugin\migrate\source\Spreadsheet::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 Spreadsheet::setConfiguration()
Spreadsheet::__construct in src/Plugin/migrate/source/Spreadsheet.php
Constructs a spreadsheet migration source plugin object.

File

src/Plugin/migrate/source/Spreadsheet.php, line 109

Class

Spreadsheet
Provides a source plugin that migrate from spreadsheet files.

Namespace

Drupal\migrate_spreadsheet\Plugin\migrate\source

Code

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