Issue #2798941 by mikeryan: Remove dead code in MigratePluginManager
parent
2489667275
commit
20303228e2
|
@ -41,8 +41,7 @@ class MigratePluginManager extends DefaultPluginManager implements MigratePlugin
|
||||||
* 'Drupal\Component\Annotation\PluginID'.
|
* 'Drupal\Component\Annotation\PluginID'.
|
||||||
*/
|
*/
|
||||||
public function __construct($type, \Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler, $annotation = 'Drupal\Component\Annotation\PluginID') {
|
public function __construct($type, \Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler, $annotation = 'Drupal\Component\Annotation\PluginID') {
|
||||||
$plugin_interface = isset($plugin_interface_map[$type]) ? $plugin_interface_map[$type] : NULL;
|
parent::__construct("Plugin/migrate/$type", $namespaces, $module_handler, NULL, $annotation);
|
||||||
parent::__construct("Plugin/migrate/$type", $namespaces, $module_handler, $plugin_interface, $annotation);
|
|
||||||
$this->alterInfo('migrate_' . $type . '_info');
|
$this->alterInfo('migrate_' . $type . '_info');
|
||||||
$this->setCacheBackend($cache_backend, 'migrate_plugins_' . $type);
|
$this->setCacheBackend($cache_backend, 'migrate_plugins_' . $type);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue