Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityBundleExistsConstraint.php

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal