public function NiceMenusBlock::__construct in Nice Menus 8
NiceMenusBlock constructor.
Parameters
array $configuration:
string $plugin_id:
mixed $plugin_definition:
$menuSelector:
Overrides BlockPluginTrait::__construct
File
- src/
Plugin/ Block/ NiceMenusBlock.php, line 37
Class
- NiceMenusBlock
- Provides a 'Nice menus' block.
Namespace
Drupal\nice_menus\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, $menuSelector) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->menuSelector = $menuSelector;
}