You are here

public function Spreadsheet::setConfiguration in Migrate Spreadsheet 8

Same name and namespace in other branches
  1. 2.0.x 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 ConfigurablePluginInterface::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 105

Class

Spreadsheet
Provides a source plugin that migrate from spreadsheet files.

Namespace

Drupal\migrate_spreadsheet\Plugin\migrate\source

Code

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