You are here

protected function MigrateExecutable::getSource in Migrate Tools 8.4

Same name and namespace in other branches
  1. 8.5 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::getSource()

Returns the source.

Makes sure source is initialized based on migration settings.

Return value

\Drupal\migrate\Plugin\MigrateSourceInterface The source.

Overrides MigrateExecutable::getSource

File

src/MigrateExecutable.php, line 395

Class

MigrateExecutable
Defines a migrate executable class for drush.

Namespace

Drupal\migrate_tools

Code

protected function getSource() {
  return new SourceFilter(parent::getSource(), $this->idlist);
}