You are here

public function TestMigration::setRequirements in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setRequirements()
  2. 9 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 227
Contains \Drupal\Tests\migrate\Unit\MigrationTest.

Class

TestMigration
Defines the TestMigration class.

Namespace

Drupal\Tests\migrate\Unit

Code

public function setRequirements(array $requirements) {
  $this->requirements = $requirements;
}