Gets a list of validation constraints.
Return value
array
Array of constraints, each being an instance of
\Symfony\Component\Validator\Constraint.
File
- drupal/core/lib/Drupal/Component/Plugin/Context/ContextInterface.php, line 59
- Contains \Drupal\Component\Plugin\Context\ContextInterface.
Class
- ContextInterface
- A generic context interface for wrapping data a plugin needs to operate.
Namespace
Drupal\Component\Plugin\Context
Code
public function getConstraints();