public function MigrationPluginManagerInterface::createInstances in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php \Drupal\migrate\Plugin\MigrationPluginManagerInterface::createInstances()
Create pre-configured instance of plugin derivatives.
Parameters
array $id: Either the plugin ID or the base plugin ID of the plugins being instantiated. Also accepts an array of plugin IDs and an empty array to load all plugins.
array $configuration: An array of configuration relevant to the plugin instances. Keyed by the plugin ID.
Return value
\Drupal\migrate\Plugin\MigrationInterface[] Fully configured plugin instances.
Throws
\Drupal\Component\Plugin\Exception\PluginException If an instance cannot be created, such as if the ID is invalid.
1 method overrides MigrationPluginManagerInterface::createInstances()
- MigrationPluginManager::createInstances in core/
modules/ migrate/ src/ Plugin/ MigrationPluginManager.php - Create pre-configured instance of plugin derivatives.
File
- core/
modules/ migrate/ src/ Plugin/ MigrationPluginManagerInterface.php, line 29
Class
- MigrationPluginManagerInterface
- Migration plugin manager interface.
Namespace
Drupal\migrate\PluginCode
public function createInstances($id, array $configuration = []);