function TestMigration::setRequirements
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setRequirements()
- 8.9.x core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setRequirements()
- 11.x core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setRequirements()
Sets the requirements values.
Parameters
array $requirements: The array of requirement values.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ MigrationTest.php, line 313
Class
- TestMigration
- Defines the TestMigration class.
Namespace
Drupal\Tests\migrate\UnitCode
public function setRequirements(array $requirements) {
$this->requirements = $requirements;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.