class PathAliasConstraint

Same name in other branches
  1. 9 core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraint.php \Drupal\path\Plugin\Validation\Constraint\PathAliasConstraint
  2. 8.9.x core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraint.php \Drupal\path\Plugin\Validation\Constraint\PathAliasConstraint
  3. 10 core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraint.php \Drupal\path\Plugin\Validation\Constraint\PathAliasConstraint

Validation constraint for changing path aliases in pending revisions.

Hierarchy

  • class \Drupal\path\Plugin\Validation\Constraint\PathAliasConstraint extends \Symfony\Component\Validator\Constraint

Expanded class hierarchy of PathAliasConstraint

File

core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraint.php, line 12

Namespace

Drupal\path\Plugin\Validation\Constraint
View source
class PathAliasConstraint extends SymfonyConstraint {
    public $message = 'You can only change the URL alias for the <em>published</em> version of this content.';

}

Members

Title Sort descending Modifiers Object type Summary
PathAliasConstraint::$message public property

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