You are here

constant RegisterSerializationClassesCompilerPass::FORMAT 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::FORMAT
  2. 10 core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php \Drupal\jsonapi\DependencyInjection\Compiler\RegisterSerializationClassesCompilerPass::FORMAT

The ID for the JSON:API format.

@const string

File

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

Class

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

Namespace

Drupal\jsonapi\DependencyInjection\Compiler

Code

const FORMAT = 'api_json';