You are here

constant RegisterSerializationClassesCompilerPass::FORMAT in JSON:API 8

Same name and namespace in other branches
  1. 8.2 src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php \Drupal\jsonapi\DependencyInjection\Compiler\RegisterSerializationClassesCompilerPass::FORMAT

The ID for the JSON API format.

@const string

File

src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php, line 43

Class

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

Namespace

Drupal\jsonapi\DependencyInjection\Compiler

Code

const FORMAT = 'api_json';