You are here

public property ValidPathConstraint::$message in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraint::message
  2. 9 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 22

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.";