You are here

public function ContextAwarePluginInterface::getContextValues in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\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 lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets the values for all defined contexts.

File

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

Class

ContextAwarePluginInterface
Interface for defining context aware plugins.

Namespace

Drupal\Component\Plugin

Code

public function getContextValues();