Implements \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextValues().
Overrides ContextAwarePluginInterface::getContextValues
public function getContextValues() {
$values = array();
foreach ($this
->getContextDefinitions() as $name => $definition) {
$values[$name] = isset($this->context[$name]) ? $this->context[$name]
->getContextValue() : NULL;
}
return $values;
}