public function Menu::summary in Context 8
Same name and namespace in other branches
- 8.4 src/Plugin/ContextReaction/Menu.php \Drupal\context\Plugin\ContextReaction\Menu::summary()
Provides a human readable summary of the condition's configuration.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup
Overrides ContextReactionInterface::summary
File
- src/
Plugin/ ContextReaction/ Menu.php, line 50
Class
- Menu
- Provides a content reaction that adds a css 'active' class to menu item.
Namespace
Drupal\context\Plugin\ContextReactionCode
public function summary() {
return $this
->t('Set active menu item based on conditions.');
}