function EntityTypeConstraint::getDefaultOption
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityTypeConstraint.php, line 35
Class
- EntityTypeConstraint
- Checks if a value is a valid entity type.
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintCode
public function getDefaultOption() {
return 'type';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.