function RelationshipNormalizer::__construct
Constructor.
Parameters
\Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface $resourceTypeRepository: Resource type repository.
File
-
core/
modules/ jsonapi/ src/ Normalizer/ RelationshipNormalizer.php, line 27
Class
- RelationshipNormalizer
- Normalizes a JSON:API relationship object.
Namespace
Drupal\jsonapi\NormalizerCode
public function __construct(ResourceTypeRepositoryInterface $resourceTypeRepository) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.