protected function TestMigrateExecutable::getSource in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php \Drupal\Tests\migrate\Kernel\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 23
Class
- TestMigrateExecutable
- Tests MigrateExecutable.
Namespace
Drupal\Tests\migrate\KernelCode
protected function getSource() {
// This adds test coverage that this works.
return new TestFilterIterator(parent::getSource());
}