public function ContentEntityNormalizer::__construct in Content Synchronization 3.0.x
Same name and namespace in other branches
- 8.2 src/Normalizer/ContentEntityNormalizer.php \Drupal\content_sync\Normalizer\ContentEntityNormalizer::__construct()
Constructs an EntityNormalizer object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Entity\EntityTypeRepositoryInterface $entity_type_repository: The entity type repository.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity bundle info.
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository.
SyncNormalizerDecoratorManager $decorator_manager:
Overrides EntityNormalizer::__construct
1 call to ContentEntityNormalizer::__construct()
- FileEntityNormalizer::__construct in src/
Normalizer/ FileEntityNormalizer.php - FileEntityNormalizer constructor.
1 method overrides ContentEntityNormalizer::__construct()
- FileEntityNormalizer::__construct in src/
Normalizer/ FileEntityNormalizer.php - FileEntityNormalizer constructor.
File
- src/
Normalizer/ ContentEntityNormalizer.php, line 61
Class
- ContentEntityNormalizer
- Adds the file URI to embedded file entities.
Namespace
Drupal\content_sync\NormalizerCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeRepositoryInterface $entity_type_repository, EntityFieldManagerInterface $entity_field_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, EntityRepositoryInterface $entity_repository, SyncNormalizerDecoratorManager $decorator_manager) {
parent::__construct($entity_type_manager, $entity_type_repository, $entity_field_manager);
$this->decoratorManager = $decorator_manager;
$this->entityRepository = $entity_repository;
$this->entityTypeBundleInfo = $entity_type_bundle_info;
}