ModerationStateConstraint::$invalidTransitionAccess

Same name and namespace in other branches
  1. 9 core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::invalidTransitionAccess
  2. 10 core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::invalidTransitionAccess
  3. 11.x core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::invalidTransitionAccess

Type: invalidTransitionAccess

File

core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php, line 19

Class

ModerationStateConstraint
Verifies that nodes have a valid moderation state.

Namespace

Drupal\content_moderation\Plugin\Validation\Constraint

Code

public $invalidTransitionAccess = 'You do not have access to transition from %original_state to %new_state';

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