class EntityLabelNotNullConstraint in Automatic Entity Label 8
Same name and namespace in other branches
- 8.3 src/Plugin/Validation/EntityLabelNotNullConstraint.php \Drupal\auto_entitylabel\Plugin\Validation\EntityLabelNotNullConstraint
- 8.2 src/Plugin/Validation/EntityLabelNotNullConstraint.php \Drupal\auto_entitylabel\Plugin\Validation\EntityLabelNotNullConstraint
EntityLabelNotNullConstraint class.
Custom override of NotNull constraint to allow empty entity labels to validate before the automatic label is set.
Hierarchy
- class \Drupal\Core\Validation\Plugin\Validation\Constraint\NotNullConstraint extends \Symfony\Component\Validator\Constraints\NotNull
- class \Drupal\auto_entitylabel\Plugin\Validation\EntityLabelNotNullConstraint
Expanded class hierarchy of EntityLabelNotNullConstraint
File
- src/
Plugin/ Validation/ EntityLabelNotNullConstraint.php, line 13
Namespace
Drupal\auto_entitylabel\Plugin\ValidationView source
class EntityLabelNotNullConstraint extends NotNullConstraint {
}