You are here

public function ContextAwarePluginInterface::validateContexts in Service Container 7

Same name and namespace in other branches
  1. 7.2 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.

1 method overrides ContextAwarePluginInterface::validateContexts()
ContextAwarePluginBase::validateContexts in lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Validates the set values for the defined contexts.

File

lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php, line 126
Contains \Drupal\Component\Plugin\ContextAwarePluginInterface.

Class

ContextAwarePluginInterface
Interface for defining context aware plugins.

Namespace

Drupal\Component\Plugin

Code

public function validateContexts();