function ContextInterface::getConstraints
Gets a list of validation constraints.
Return value
array Array of constraints, each being an instance of \Symfony\Component\Validator\Constraint.
1 method overrides ContextInterface::getConstraints()
- Context::getConstraints in core/
lib/ Drupal/ Component/ Plugin/ Context/ Context.php - Gets a list of validation constraints.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Context/ ContextInterface.php, line 48
Class
- ContextInterface
- Provides data and definitions for plugins during runtime and administration.
Namespace
Drupal\Component\Plugin\ContextCode
public function getConstraints();