function TestMigrateExecutable::getSource

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php \Drupal\Tests\migrate\Kernel\TestMigrateExecutable::getSource()
  2. 8.9.x core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php \Drupal\Tests\migrate\Kernel\TestMigrateExecutable::getSource()
  3. 11.x core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php \Drupal\Tests\migrate\Kernel\TestMigrateExecutable::getSource()

Overrides MigrateExecutable::getSource

File

core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php, line 25

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Kernel

Code

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.