NotNullConstraint.php in Zircon Profile 8
Same filename and directory in other branches
File
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/NotNullConstraint.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\Validation\Plugin\Validation\Constraint\NotNullConstraint.
*/
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraints\NotNull;
/**
* NotNull constraint.
*
* Overrides the symfony constraint to handle empty Typed Data structures.
*
* @Constraint(
* id = "NotNull",
* label = @Translation("NotNull", context = "Validation"),
* type = false
* )
*/
class NotNullConstraint extends NotNull {
}
Classes
Name | Description |
---|---|
NotNullConstraint | NotNull constraint. |