function EntityBundleExistsConstraint::getDefaultOption
Same name in other branches
- 10 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\EntityBundleExistsConstraint::getDefaultOption()
File
-
core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ EntityBundleExistsConstraint.php, line 45
Class
- EntityBundleExistsConstraint
- Checks if a bundle exists on a certain content entity type.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public function getDefaultOption() : ?string {
return 'entityTypeId';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.