public function MigrationPluginManagerInterface::createStubMigration in Drupal 8
Same name and namespace in other branches
- 9 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.
1 method overrides MigrationPluginManagerInterface::createStubMigration()
- MigrationPluginManager::createStubMigration in core/
modules/ migrate/ src/ Plugin/ MigrationPluginManager.php - Creates a stub migration plugin from a definition array.
File
- core/
modules/ migrate/ src/ Plugin/ MigrationPluginManagerInterface.php, line 41
Class
- MigrationPluginManagerInterface
- Migration plugin manager interface.
Namespace
Drupal\migrate\PluginCode
public function createStubMigration(array $definition);