ValidPathConstraint::$message

Same name in other branches
  1. 9 core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraint::message
  2. 8.9.x core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraint::message
  3. 11.x core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraint::message

The default violation message.

Type: string

File

core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php, line 23

Class

ValidPathConstraint
Validation constraint for valid system paths.

Namespace

Drupal\Core\Path\Plugin\Validation\Constraint

Code

public $message = "Either the path '%link_path' is invalid or you do not have access to it.";

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