You are here

constant RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_ENCODER_TAG in JSON:API 8.2

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

@const string

File

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';