You are here

constant Routes::CONTROLLER_SERVICE_NAME in Drupal 9

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