public function SchemataSchemaNormalizer::__construct in JSON:API Extras 8.2
Same name and namespace in other branches
- 8.3 src/Normalizer/SchemataSchemaNormalizer.php \Drupal\jsonapi_extras\Normalizer\SchemataSchemaNormalizer::__construct()
- 8 src/Normalizer/SchemataSchemaNormalizer.php \Drupal\jsonapi_extras\Normalizer\SchemataSchemaNormalizer::__construct()
Constructs a SchemataSchemaNormalizer object.
Parameters
\Drupal\jsonapi\ResourceType\ResourceTypeRepository $resource_type_repository: A resource repository.
File
- src/
Normalizer/ SchemataSchemaNormalizer.php, line 27
Class
- SchemataSchemaNormalizer
- Applies JSONAPI Extras attribute overrides to entity schemas.
Namespace
Drupal\jsonapi_extras\NormalizerCode
public function __construct(ResourceTypeRepository $resource_type_repository) {
$this->resourceTypeRepository = $resource_type_repository;
}