You are here

public function DataReferenceDefinitionNormalizer::__construct in Schemata 8

Same name in this branch
  1. 8 schemata_json_schema/src/Normalizer/json/DataReferenceDefinitionNormalizer.php \Drupal\schemata_json_schema\Normalizer\json\DataReferenceDefinitionNormalizer::__construct()
  2. 8 schemata_json_schema/src/Normalizer/hal/DataReferenceDefinitionNormalizer.php \Drupal\schemata_json_schema\Normalizer\hal\DataReferenceDefinitionNormalizer::__construct()

Constructs an DataReferenceDefinitionNormalizer object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The Entity Type Manager.

1 call to DataReferenceDefinitionNormalizer::__construct()
DataReferenceDefinitionNormalizer::__construct in schemata_json_schema/src/Normalizer/hal/DataReferenceDefinitionNormalizer.php
Constructs an DataReferenceDefinitionNormalizer object.
1 method overrides DataReferenceDefinitionNormalizer::__construct()
DataReferenceDefinitionNormalizer::__construct in schemata_json_schema/src/Normalizer/hal/DataReferenceDefinitionNormalizer.php
Constructs an DataReferenceDefinitionNormalizer object.

File

schemata_json_schema/src/Normalizer/json/DataReferenceDefinitionNormalizer.php, line 41

Class

DataReferenceDefinitionNormalizer
Normalizer for Entity References.

Namespace

Drupal\schemata_json_schema\Normalizer\json

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}