EntityBundleExistsConstraint::$message

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

The error message if validation fails.

Type: string

File

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

Class

EntityBundleExistsConstraint
Checks if a bundle exists on a certain content entity type.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public $message = "The '@bundle' bundle does not exist on the '@entity_type_id' entity type.";

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