Validates the set context value.
Return value
\Symfony\Component\Validator\ConstraintViolationListInterface
A list of constraint violations. If the list is empty, validation
succeeded.
File
- drupal/core/lib/Drupal/Component/Plugin/Context/ContextInterface.php, line 68
- 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 validate();