function ContextAwarePluginInterface::getContextValues

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextValues()
  2. 8.9.x core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextValues()
  3. 10 core/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.

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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.