UniquePathAliasConstraint::$differentCapitalizationMessage

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

Violation message when the path alias exists with different capitalization.

Type: string

File

core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraint.php, line 29

Class

UniquePathAliasConstraint
Validation constraint for unique path alias values.

Namespace

Drupal\Core\Path\Plugin\Validation\Constraint

Code

public $differentCapitalizationMessage = 'The alias %alias could not be added because it is already in use in this language with different capitalization: %stored_alias.';

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