Commit eca67ab6 authored by alexpott's avatar alexpott

Issue #2560423 by bojanz: MigrateDestinationPluginManager has wrong class members

parent 36f6a9bc
......@@ -26,21 +26,29 @@
class MigrateDestinationPluginManager extends MigratePluginManager {
* The theme handler
* The entity manager.
* @var \Drupal\Core\Extension\ThemeHandlerInterface
* @var \Drupal\Core\Entity\EntityManagerInterface
protected $themeHandler;
protected $entityManager;
* An associative array where the keys are the enabled modules and themes.
* Constructs a MigrateDestinationPluginManager object.
* @var array
protected $providers;
* {@inheritdoc}
* @param string $type
* The type of the plugin: row, source, process, destination, entity_field,
* id_map.
* @param \Traversable $namespaces
* An object that implements \Traversable which contains the root paths
* keyed by the corresponding namespace to look for plugin implementations.
* @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend
* Cache backend instance to use.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler to invoke the alter hook with.
* @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager
* The entity manager.
* @param string $annotation
* The annotation class name.
public function __construct($type, \Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler, EntityManagerInterface $entity_manager, $annotation = 'Drupal\migrate\Annotation\MigrateDestination') {
parent::__construct($type, $namespaces, $cache_backend, $module_handler, $annotation);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment