function TestMigrationMock::set

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::set()
  2. 10 core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::set()
  3. 11.x core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::set()

Overrides Migration::set

File

core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php, line 216

Class

TestMigrationMock
A mock migration plugin.

Namespace

Drupal\Tests\migrate\Unit

Code

public function set($prop, $value) {
    $this->set[] = func_get_args();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.