ResourceVersionRouteEnhancer::REVISION_ID_KEY

Same name in other branches
  1. 8.9.x core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php \Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer::REVISION_ID_KEY
  2. 10 core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php \Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer::REVISION_ID_KEY
  3. 11.x 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';

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