class IsNullConstraint

Same name in other branches
  1. 9 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\IsNullConstraint
  2. 8.9.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\IsNullConstraint
  3. 10 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\IsNullConstraint

Null constraint.

Overrides the symfony constraint to handle empty Typed Data structures.

Hierarchy

  • class \Drupal\Core\Validation\Plugin\Validation\Constraint\IsNullConstraint extends \Symfony\Component\Validator\Constraints\IsNull

Expanded class hierarchy of IsNullConstraint

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraint.php, line 14

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint
View source
class IsNullConstraint extends IsNull {

}

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