Skip to content
Snippets Groups Projects
Commit eca67ab6 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2560423 by bojanz: MigrateDestinationPluginManager has wrong class members

parent 36f6a9bc
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment