VersionByRel::WORKING_COPY

Same name in other branches
  1. 9 core/modules/jsonapi/src/Revisions/VersionByRel.php \Drupal\jsonapi\Revisions\VersionByRel::WORKING_COPY
  2. 10 core/modules/jsonapi/src/Revisions/VersionByRel.php \Drupal\jsonapi\Revisions\VersionByRel::WORKING_COPY
  3. 11.x core/modules/jsonapi/src/Revisions/VersionByRel.php \Drupal\jsonapi\Revisions\VersionByRel::WORKING_COPY

Version argument which loads the revision known to be the "working copy".

In Drupal terms, a "working copy" is the latest revision. It may or may not be a "default" revision. This revision is the working copy because it is the revision to which new work will be applied. In other words, it denotes the most recent revision which might be considered a work-in-progress.

File

core/modules/jsonapi/src/Revisions/VersionByRel.php, line 29

Class

VersionByRel
Revision ID implementation for the default or latest revisions.

Namespace

Drupal\jsonapi\Revisions

Code

const WORKING_COPY = 'working-copy';

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