public function MenuController::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/menu_ui/src/Controller/MenuController.php \Drupal\menu_ui\Controller\MenuController::__construct()
Creates a new MenuController object.
Parameters
\Drupal\Core\Menu\MenuParentFormSelectorInterface $menu_parent_form: The menu parent form service.
File
- core/
modules/ menu_ui/ src/ Controller/ MenuController.php, line 36 - Contains \Drupal\menu_ui\Controller\MenuController.
Class
- MenuController
- Returns responses for Menu routes.
Namespace
Drupal\menu_ui\ControllerCode
public function __construct(MenuParentFormSelectorInterface $menu_parent_form) {
$this->menuParentSelector = $menu_parent_form;
}