RequiredConfigDependenciesConstraint::$message

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

The error message.

Type: string

File

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

Class

RequiredConfigDependenciesConstraint
Checks that config dependencies contain specific types of entities.

Namespace

Drupal\Core\Config\Plugin\Validation\Constraint

Code

public string $message = 'This @entity_type requires a @dependency_type.';

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