Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContextAwarePluginInterface.php

function 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\Plugin

Code

public function validateContexts();
RSS feed
Powered by Drupal