You are here

constant Routes::JSON_API_ROUTE_FLAG_KEY in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/Routing/Routes.php \Drupal\jsonapi\Routing\Routes::JSON_API_ROUTE_FLAG_KEY

A key with which to flag a route as belonging to the JSON:API module.

File

core/modules/jsonapi/src/Routing/Routes.php, line 41

Class

Routes
Defines dynamic routes.

Namespace

Drupal\jsonapi\Routing

Code

const JSON_API_ROUTE_FLAG_KEY = '_is_jsonapi';