function MigrationPluginManagerInterface::createInstancesByTag

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php \Drupal\migrate\Plugin\MigrationPluginManagerInterface::createInstancesByTag()
  2. 8.9.x core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php \Drupal\migrate\Plugin\MigrationPluginManagerInterface::createInstancesByTag()
  3. 11.x core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php \Drupal\migrate\Plugin\MigrationPluginManagerInterface::createInstancesByTag()

Create migrations given a tag.

Parameters

string $tag: A migration tag we want to filter by.

Return value

array|\Drupal\migrate\Plugin\MigrationInterface[] An array of migration objects with the given tag, or an empty array if no migrations with that tag exist.

File

core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php, line 64

Class

MigrationPluginManagerInterface
Migration plugin manager interface.

Namespace

Drupal\migrate\Plugin

Code

public function createInstancesByTag($tag);

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