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