You are here

constant VersionByRel::WORKING_COPY in Drupal 8

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