public function CSV::setConfiguration in Migrate Source CSV 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/migrate/source/CSV.php \Drupal\migrate_source_csv\Plugin\migrate\source\CSV::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 CSV::setConfiguration()
- CSV::__construct in src/
Plugin/ migrate/ source/ CSV.php
File
- src/
Plugin/ migrate/ source/ CSV.php, line 171
Class
- CSV
- Source for CSV files.
Namespace
Drupal\migrate_source_csv\Plugin\migrate\sourceCode
public function setConfiguration(array $configuration) {
// We must preserve integer keys for column_name mapping.
$this->configuration = NestedArray::mergeDeepArray([
$this
->defaultConfiguration(),
$configuration,
], TRUE);
}