You are here

public function ReferenceNormalizerBase::__construct in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Normalizer/ReferenceNormalizerBase.php \Drupal\bibcite_entity\Normalizer\ReferenceNormalizerBase::__construct()

Construct new BibliographyNormalizer object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory.

\Drupal\Core\Entity\EntityTypeRepositoryInterface $entity_type_repository: The entity type repository.

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

Overrides EntityNormalizer::__construct

File

modules/bibcite_entity/src/Normalizer/ReferenceNormalizerBase.php, line 126

Class

ReferenceNormalizerBase
Base normalizer class for bibcite formats.

Namespace

Drupal\bibcite_entity\Normalizer

Code

public function __construct(EntityTypeManagerInterface $entity_manager, ConfigFactoryInterface $config_factory, EntityTypeRepositoryInterface $entity_type_repository, EntityFieldManagerInterface $entity_field_manager) {
  parent::__construct($entity_manager, $entity_type_repository, $entity_field_manager);
  $this->configFactory = $config_factory;
}