From 20303228e2fd83fc8cc57c31748d3b417626a14a Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Sun, 23 Oct 2016 12:43:14 -0700 Subject: [PATCH] Issue #2798941 by mikeryan: Remove dead code in MigratePluginManager --- core/modules/migrate/src/Plugin/MigratePluginManager.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/migrate/src/Plugin/MigratePluginManager.php b/core/modules/migrate/src/Plugin/MigratePluginManager.php index 8fd1644e509f..94c59859e627 100644 --- a/core/modules/migrate/src/Plugin/MigratePluginManager.php +++ b/core/modules/migrate/src/Plugin/MigratePluginManager.php @@ -41,8 +41,7 @@ class MigratePluginManager extends DefaultPluginManager implements MigratePlugin * '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, $plugin_interface, $annotation); + parent::__construct("Plugin/migrate/$type", $namespaces, $module_handler, NULL, $annotation); $this->alterInfo('migrate_' . $type . '_info'); $this->setCacheBackend($cache_backend, 'migrate_plugins_' . $type); }