EntityWorkspaceConflictConstraint::$message

Same name in other branches
  1. 9 core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\EntityWorkspaceConflictConstraint::message
  2. 8.9.x core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\EntityWorkspaceConflictConstraint::message
  3. 10 core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\EntityWorkspaceConflictConstraint::message

The default violation message.

Type: string

File

core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraint.php, line 24

Class

EntityWorkspaceConflictConstraint
Validation constraint for an entity being edited in multiple workspaces.

Namespace

Drupal\workspaces\Plugin\Validation\Constraint

Code

public $message = 'The content is being edited in the @label workspace. As a result, your changes cannot be saved.';

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