You are here

constant RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_ENCODER_TAG in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php \Drupal\jsonapi\DependencyInjection\Compiler\RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_ENCODER_TAG

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

@const string

File

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

Class

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

Namespace

Drupal\jsonapi\DependencyInjection\Compiler

Code

const OVERRIDDEN_SERVICE_ENCODER_TAG = 'jsonapi_encoder';