You are here

public function UltimenuBlock::__construct in Ultimenu 8

Same name in this branch
  1. 8 src/Plugin/Derivative/UltimenuBlock.php \Drupal\ultimenu\Plugin\Derivative\UltimenuBlock::__construct()
  2. 8 src/Plugin/Block/UltimenuBlock.php \Drupal\ultimenu\Plugin\Block\UltimenuBlock::__construct()
Same name and namespace in other branches
  1. 8.2 src/Plugin/Derivative/UltimenuBlock.php \Drupal\ultimenu\Plugin\Derivative\UltimenuBlock::__construct()

Constructs a new UltimenuBlock.

Parameters

\Drupal\ultimenu\UltimenuManagerInterface $ultimenu_manager: The ultimenu manager.

File

src/Plugin/Derivative/UltimenuBlock.php, line 30

Class

UltimenuBlock
Provides block plugin definitions for Ultimenu.

Namespace

Drupal\ultimenu\Plugin\Derivative

Code

public function __construct(UltimenuManagerInterface $ultimenu_manager) {
  $this->ultimenuManager = $ultimenu_manager;
}