function ContextAwarePluginTrait::getContextValue
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php \Drupal\Core\Plugin\ContextAwarePluginTrait::getContextValue()
- 11.x core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php \Drupal\Core\Plugin\ContextAwarePluginTrait::getContextValue()
1 call to ContextAwarePluginTrait::getContextValue()
- EntityBundle::evaluate in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Condition/ EntityBundle.php - Evaluates the condition and returns TRUE or FALSE accordingly.
File
-
core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginTrait.php, line 81
Class
- ContextAwarePluginTrait
- Provides a trait to add context-aware functionality to plugins.
Namespace
Drupal\Core\PluginCode
public function getContextValue($name) {
return $this->getContext($name)
->getContextValue();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.