RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_NORMALIZER_TAG

Same name in other branches
  1. 9 core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php \Drupal\jsonapi\DependencyInjection\Compiler\RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_NORMALIZER_TAG
  2. 8.9.x core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php \Drupal\jsonapi\DependencyInjection\Compiler\RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_NORMALIZER_TAG
  3. 11.x core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php \Drupal\jsonapi\DependencyInjection\Compiler\RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_NORMALIZER_TAG

The service tag that only JSON:API normalizers should use.

@const string

File

core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php, line 37

Class

RegisterSerializationClassesCompilerPass
Adds services tagged JSON:API-only normalizers to the Serializer.

Namespace

Drupal\jsonapi\DependencyInjection\Compiler

Code

const OVERRIDDEN_SERVICE_NORMALIZER_TAG = 'jsonapi_normalizer';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.