function TestSqlBase::setIds

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::setIds()
  2. 10 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::setIds()
  3. 11.x 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

Class

TestSqlBase
Creates a base source class for SQL migration testing.

Namespace

Drupal\Tests\migrate\Unit

Code

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

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