public function ContextAwarePluginInterface::validateContexts in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::validateContexts()
- 9 core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::validateContexts()
Validates the set values for the defined contexts.
Return value
\Symfony\Component\Validator\ConstraintViolationListInterface A list of constraint violations. If the list is empty, validation succeeded.
File
- core/
lib/ Drupal/ Component/ Plugin/ ContextAwarePluginInterface.php, line 121
Class
- ContextAwarePluginInterface
- Interface for defining context aware plugins.
Namespace
Drupal\Component\PluginCode
public function validateContexts();