function CompositeConstraintBase::coversFields
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/CompositeConstraintBase.php \Drupal\Core\Entity\Plugin\Validation\Constraint\CompositeConstraintBase::coversFields()
An array of entity fields which should be passed to the validator.
Return value
string[] An array of field names.
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ CompositeConstraintBase.php, line 23
Class
- CompositeConstraintBase
- Provides a base class for constraints validating multiple fields.
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintCode
abstract public function coversFields();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.