public function Menu::execute in Context 8.4
Same name and namespace in other branches
- 8 src/Plugin/ContextReaction/Menu.php \Drupal\context\Plugin\ContextReaction\Menu::execute()
Executes the plugin.
Overrides ExecutableInterface::execute
File
- src/
Plugin/ ContextReaction/ Menu.php, line 58
Class
- Menu
- Provides a content reaction that adds a css 'active' class to menu item.
Namespace
Drupal\context\Plugin\ContextReactionCode
public function execute(array &$vars = []) {
$config = $this
->getConfiguration();
return $config['menu'];
}