public function HorizontalMenu::__construct in Responsive and off-canvas menu 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/Block/HorizontalMenu.php \Drupal\responsive_menu\Plugin\Block\HorizontalMenu::__construct()
- 4.4.x src/Plugin/Block/HorizontalMenu.php \Drupal\responsive_menu\Plugin\Block\HorizontalMenu::__construct()
- 4.0.x src/Plugin/Block/HorizontalMenu.php \Drupal\responsive_menu\Plugin\Block\HorizontalMenu::__construct()
- 4.1.x src/Plugin/Block/HorizontalMenu.php \Drupal\responsive_menu\Plugin\Block\HorizontalMenu::__construct()
- 4.3.x src/Plugin/Block/HorizontalMenu.php \Drupal\responsive_menu\Plugin\Block\HorizontalMenu::__construct()
Overrides BlockPluginTrait::__construct
File
- src/
Plugin/ Block/ HorizontalMenu.php, line 39
Class
- HorizontalMenu
- Provides the HorizontalMenu block.
Namespace
Drupal\responsive_menu\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MenuLinkTreeInterface $menu_tree, MenuActiveTrailInterface $menu_active_trail) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->menuTree = $menu_tree;
$this->menuActiveTrail = $menu_active_trail;
}