function MigrationPluginManagerInterface::createStubMigration

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

Creates a stub migration plugin from a definition array.

Parameters

array $definition: The migration definition. If an 'id' key is set then this will be used as the migration ID, if not a random ID will be assigned.

Return value

\Drupal\migrate\Plugin\Migration The stub migration.

File

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

Class

MigrationPluginManagerInterface
Migration plugin manager interface.

Namespace

Drupal\migrate\Plugin

Code

public function createStubMigration(array $definition);

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