public function ResourceIdentifierNormalizer::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php \Drupal\jsonapi\Normalizer\ResourceIdentifierNormalizer::__construct()
RelationshipNormalizer constructor.
Parameters
\Drupal\Core\Entity\EntityFieldManagerInterface $field_manager: The entity field manager.
File
- core/
modules/ jsonapi/ src/ Normalizer/ ResourceIdentifierNormalizer.php, line 44
Class
- ResourceIdentifierNormalizer
- Normalizes a Relationship according to the JSON:API specification.
Namespace
Drupal\jsonapi\NormalizerCode
public function __construct(EntityFieldManagerInterface $field_manager) {
$this->fieldManager = $field_manager;
}