diff core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php	Mon Apr 23 09:46:53 2018 +0100
@@ -40,4 +40,15 @@
    */
   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);
+
 }