EntityBundleExistsConstraint::$entityTypeId

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::entityTypeId

The entity type ID which should have the given bundle.

This can contain variable values (e.g., `%parent`) that will be replaced.

Type: string

See also

\Drupal\Core\Config\Schema\TypeResolver::replaceVariable()

File

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

Class

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

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public string $entityTypeId;

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