Routes::JSON_API_ROUTE_FLAG_KEY

Same name in other branches
  1. 8.9.x core/modules/jsonapi/src/Routing/Routes.php \Drupal\jsonapi\Routing\Routes::JSON_API_ROUTE_FLAG_KEY
  2. 10 core/modules/jsonapi/src/Routing/Routes.php \Drupal\jsonapi\Routing\Routes::JSON_API_ROUTE_FLAG_KEY
  3. 11.x 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';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.