public function CheeseburgerMenuTrigger::__construct in Cheeseburger Menu 5.0.x
Cheeseburger menu trigger constructor.
Overrides BlockPluginTrait::__construct
File
- src/
Plugin/ Block/ CheeseburgerMenuTrigger.php, line 55
Class
- CheeseburgerMenuTrigger
- Provides a 'CheeseburgerMenu' block.
Namespace
Drupal\cheeseburger_menu\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, ThemeManagerInterface $theme_manager, BreakpointManagerInterface $break_point_manager = NULL) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entity_type_manager;
$this->configFactory = $config_factory;
$this->breakPointManager = $break_point_manager;
$this->themeManager = $theme_manager;
}