You are here

constant Routes::JSON_API_ROUTE_FLAG_KEY in JSON:API 8

Same name and namespace in other branches
  1. 8.2 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

src/Routing/Routes.php, line 38

Class

Routes
Defines dynamic routes.

Namespace

Drupal\jsonapi\Routing

Code

const JSON_API_ROUTE_FLAG_KEY = '_is_jsonapi';