You are here

public function TestMigrateExecutable::setSource in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 48
Contains \Drupal\Tests\migrate\Unit\TestMigrateExecutable.

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Unit

Code

public function setSource($source) {
  $this->source = $source;
}