You are here

public function FileEntityNormalizer::__construct in Replication 8

Same name and namespace in other branches
  1. 8.2 src/Normalizer/FileEntityNormalizer.php \Drupal\replication\Normalizer\FileEntityNormalizer::__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:

\Drupal\replication\ProcessFileAttachment $process_file_attachment:

Overrides ContentEntityNormalizer::__construct

File

src/Normalizer/FileEntityNormalizer.php, line 43

Class

FileEntityNormalizer

Namespace

Drupal\replication\Normalizer

Code

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, ProcessFileAttachment $process_file_attachment) {
  parent::__construct($entity_manager, $index_factory, $language_manager, $users_mapping, $module_handler, $selection_manager, $event_dispatcher);
  $this->processFileAttachment = $process_file_attachment;
}