public function AccordionMenusBlock::__construct in Accordion Menus 8.4
Same name in this branch
- 8.4 src/Plugin/Derivative/AccordionMenusBlock.php \Drupal\accordion_menus\Plugin\Derivative\AccordionMenusBlock::__construct()
- 8.4 src/Plugin/Block/AccordionMenusBlock.php \Drupal\accordion_menus\Plugin\Block\AccordionMenusBlock::__construct()
Same name and namespace in other branches
- 8 src/Plugin/Derivative/AccordionMenusBlock.php \Drupal\accordion_menus\Plugin\Derivative\AccordionMenusBlock::__construct()
- 8.2 src/Plugin/Derivative/AccordionMenusBlock.php \Drupal\accordion_menus\Plugin\Derivative\AccordionMenusBlock::__construct()
- 8.3 src/Plugin/Derivative/AccordionMenusBlock.php \Drupal\accordion_menus\Plugin\Derivative\AccordionMenusBlock::__construct()
Constructs new SystemMenuBlock.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $menu_storage: The menu storage.
File
- src/
Plugin/ Derivative/ AccordionMenusBlock.php, line 30
Class
- AccordionMenusBlock
- Provides block plugin definitions for accordion menus.
Namespace
Drupal\accordion_menus\Plugin\DerivativeCode
public function __construct(EntityStorageInterface $menu_storage) {
$this->menuStorage = $menu_storage;
}