You are here

public function CSV::getIDs in Migrate Source CSV 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/migrate/source/CSV.php \Drupal\migrate_source_csv\Plugin\migrate\source\CSV::getIds()
  2. 8.2 src/Plugin/migrate/source/CSV.php \Drupal\migrate_source_csv\Plugin\migrate\source\CSV::getIds()

File

src/Plugin/migrate/source/CSV.php, line 111
Contains \Drupal\migrate_source_csv\Plugin\migrate\source\CSV.

Class

CSV
Source for CSV.

Namespace

Drupal\migrate_source_csv\Plugin\migrate\source

Code

public function getIDs() {
  $ids = [];
  foreach ($this->configuration['keys'] as $key) {
    $ids[$key]['type'] = 'string';
  }
  return $ids;
}