public function MenuAdminPerMenuController::__construct in Menu Admin per Menu 8
Constructs a new MenuAdminPerMenu instance.
Parameters
\Drupal\menu_admin_per_menu\Access\MenuAdminPerMenuAccess $allowed_menus: The check provider.
File
- src/
Controller/ MenuAdminPerMenuController.php, line 27
Class
- MenuAdminPerMenuController
- Controller routines for menu overview route.
Namespace
Drupal\menu_admin_per_menu\ControllerCode
public function __construct(MenuAdminPerMenuAccess $allowed_menus) {
$this->allowedMenusService = $allowed_menus;
}