public function ContentEntityNormalizer::__construct in Replication 8.2
Same name and namespace in other branches
- 8 src/Normalizer/ContentEntityNormalizer.php \Drupal\replication\Normalizer\ContentEntityNormalizer::__construct()
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager:
\Drupal\multiversion\Entity\Index\MultiversionIndexFactory $index_factory:
\Drupal\Core\Language\LanguageManagerInterface $language_manager:
\Drupal\replication\UsersMapping $users_mapping:
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler:
\Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface $selection_manager:
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher:
1 call to ContentEntityNormalizer::__construct()
- FileEntityNormalizer::__construct in src/
Normalizer/ FileEntityNormalizer.php
1 method overrides ContentEntityNormalizer::__construct()
- FileEntityNormalizer::__construct in src/
Normalizer/ FileEntityNormalizer.php
File
- src/
Normalizer/ ContentEntityNormalizer.php, line 74
Class
Namespace
Drupal\replication\NormalizerCode
public function __construct(EntityManagerInterface $entity_manager, MultiversionIndexFactory $index_factory, LanguageManagerInterface $language_manager, UsersMapping $users_mapping, ModuleHandlerInterface $module_handler, SelectionPluginManagerInterface $selection_manager = NULL, EventDispatcherInterface $event_dispatcher = NULL) {
$this->entityManager = $entity_manager;
$this->indexFactory = $index_factory;
$this->languageManager = $language_manager;
$this->usersMapping = $users_mapping;
$this->moduleHandler = $module_handler;
$this->selectionManager = $selection_manager;
$this->dispatcher = $event_dispatcher;
}