You are here

public function TestMigrationStorage::getVariantIds in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/tests/src/Unit/MigrationStorageTest.php \Drupal\Tests\migrate\Unit\TestMigrationStorage::getVariantIds()

Splices variant IDs into a list of migration IDs.

IDs which match the template_id:* pattern are shorthand for every variant of template_id. This method queries for those variant IDs and splices them into the original list.

Parameters

string[] $ids: A set of migration IDs.

Return value

string[] The expanded list of IDs.

Overrides MigrationStorage::getVariantIds

File

core/modules/migrate/tests/src/Unit/MigrationStorageTest.php, line 108
Contains \Drupal\Tests\migrate\Unit\MigrationStorageTest.

Class

TestMigrationStorage
Test version of \Drupal\migrate\MigrationStorage.

Namespace

Drupal\Tests\migrate\Unit

Code

public function getVariantIds(array $ids) {
  return parent::getVariantIds($ids);
}