ConfigExistsConstraint::$message

Same name in other branches
  1. 10 core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraint.php \Drupal\Core\Config\Plugin\Validation\Constraint\ConfigExistsConstraint::message

The error message.

Type: string

File

core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraint.php, line 25

Class

ConfigExistsConstraint
Checks that the value is the name of an existing config object.

Namespace

Drupal\Core\Config\Plugin\Validation\Constraint

Code

public string $message = "The '@name' config does not exist.";

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