public function ContentEntityNormalizer::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/hal/src/Normalizer/ContentEntityNormalizer.php \Drupal\hal\Normalizer\ContentEntityNormalizer::__construct()
Constructs an ContentEntityNormalizer object.
Parameters
\Drupal\rest\LinkManager\LinkManagerInterface $link_manager: The hypermedia link manager.
1 call to ContentEntityNormalizer::__construct()
- FileEntityNormalizer::__construct in core/
modules/ hal/ src/ Normalizer/ FileEntityNormalizer.php - Constructs a FileEntityNormalizer object.
1 method overrides ContentEntityNormalizer::__construct()
- FileEntityNormalizer::__construct in core/
modules/ hal/ src/ Normalizer/ FileEntityNormalizer.php - Constructs a FileEntityNormalizer object.
File
- core/
modules/ hal/ src/ Normalizer/ ContentEntityNormalizer.php, line 57 - Contains \Drupal\hal\Normalizer\ContentEntityNormalizer.
Class
- ContentEntityNormalizer
- Converts the Drupal entity object structure to a HAL array structure.
Namespace
Drupal\hal\NormalizerCode
public function __construct(LinkManagerInterface $link_manager, EntityManagerInterface $entity_manager, ModuleHandlerInterface $module_handler) {
$this->linkManager = $link_manager;
$this->entityManager = $entity_manager;
$this->moduleHandler = $module_handler;
}