Routes::CONTROLLER_SERVICE_NAME

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

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