You are here

constant Routes::CONTROLLER_SERVICE_NAME in Drupal 8

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

The service name for the primary JSON:API controller.

All resources except the entrypoint are served by this controller.

File

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

Class

Routes
Defines dynamic routes.

Namespace

Drupal\jsonapi\Routing

Code

const CONTROLLER_SERVICE_NAME = 'jsonapi.entity_resource';