function TestMigrateExecutable::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
- 
              core/
modules/ migrate/ tests/ src/ Kernel/ TestMigrateExecutable.php, line 25  
Class
- TestMigrateExecutable
 - Tests MigrateExecutable.
 
Namespace
Drupal\Tests\migrate\KernelCode
protected function getSource() {
  // This adds test coverage that this works.
  return new TestFilterIterator(parent::getSource());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.