You are here

public function TestSqlBase::setIds in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::setIds()
  2. 9 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::setIds()

Allows us to set the IDs during a test.

Parameters

array $ids: An array of identifiers.

File

core/modules/migrate/tests/src/Unit/SqlBaseTest.php, line 216
Contains \Drupal\Tests\migrate\Unit\SqlBaseTest.

Class

TestSqlBase
Creates a base source class for SQL migration testing.

Namespace

Drupal\Tests\migrate\Unit

Code

public function setIds($ids) {
  $this->ids = $ids;
}