You are here

constant ResourceVersionRouteEnhancer::REVISION_ID_KEY in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php \Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer::REVISION_ID_KEY

The route default parameter name.

File

core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php, line 31

Class

ResourceVersionRouteEnhancer
Loads an appropriate revision for the requested resource version.

Namespace

Drupal\jsonapi\Revisions

Code

const REVISION_ID_KEY = 'revision_id';