8.5.x ContextAwarePluginInterface.php ContextAwarePluginInterface::getContextValues()
8.0.x ContextAwarePluginInterface.php ContextAwarePluginInterface::getContextValues()
8.1.x ContextAwarePluginInterface.php ContextAwarePluginInterface::getContextValues()
8.2.x ContextAwarePluginInterface.php ContextAwarePluginInterface::getContextValues()
8.3.x ContextAwarePluginInterface.php ContextAwarePluginInterface::getContextValues()
8.4.x ContextAwarePluginInterface.php ContextAwarePluginInterface::getContextValues()
8.6.x ContextAwarePluginInterface.php ContextAwarePluginInterface::getContextValues()

Gets the values for all defined contexts.

Return value

array An array of set context values, keyed by context name. If a context is unset its value is returned as NULL.

1 method overrides ContextAwarePluginInterface::getContextValues()
ContextAwarePluginBase::getContextValues in core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets the values for all defined contexts.

File

core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php, line 71

Class

ContextAwarePluginInterface
Interface for defining context aware plugins.

Namespace

Drupal\Component\Plugin

Code

public function getContextValues();