X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Fsrc%2FPlugin%2FMigrationPluginManagerInterface.php;h=01e4385c2e366ed25a85d41e7d8ae44d31c3f822;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=a0f648862ddc814a81fb41eb93184921a203b83c;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php b/web/core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php index a0f648862..01e4385c2 100644 --- a/web/core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php +++ b/web/core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php @@ -40,4 +40,15 @@ interface MigrationPluginManagerInterface extends PluginManagerInterface { */ public function createStubMigration(array $definition); + /** + * Create migrations given a tag. + * + * @param string $tag + * A migration tag we want to filter by. + * + * @return array|\Drupal\migrate\Plugin\MigrationInterface[] + * An array of migration objects with the given tag. + */ + public function createInstancesByTag($tag); + }