Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / migrate / src / Plugin / MigrationPluginManagerInterface.php
index a0f648862ddc814a81fb41eb93184921a203b83c..01e4385c2e366ed25a85d41e7d8ae44d31c3f822 100644 (file)
@@ -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);
+
 }