You are here

public function JumpMenuBlock::__construct in Better Jump Menus 8

Constructs new JumpMenuBlock.

Parameters

\Drupal\Core\Entity\EntityStorageControllerInterface $menu_storage: The menu storage.

File

lib/Drupal/jump_menu/Plugin/Derivative/JumpMenuBlock.php, line 35
Contains \Drupal\jump_menu\Plugin\Derivative\JumpMenuBlock.

Class

JumpMenuBlock
Provides jump menu block plugin definitions for custom menus.

Namespace

Drupal\jump_menu\Plugin\Derivative

Code

public function __construct(EntityStorageControllerInterface $menu_storage) {
  $this->menuStorage = $menu_storage;
}