function TestMigrateExecutable::setSource
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::setSource()
- 8.9.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::setSource()
- 11.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::setSource()
Allows access to set protected source property.
Parameters
\Drupal\migrate\Plugin\MigrateSourceInterface $source: The value to set.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ TestMigrateExecutable.php, line 46
Class
- TestMigrateExecutable
- Tests MigrateExecutable.
Namespace
Drupal\Tests\migrate\UnitCode
public function setSource($source) {
$this->source = $source;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.