public function MenuController::__construct in Drupal 8
Same name and namespace in other branches
- 9 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 31
Class
- MenuController
- Returns responses for Menu routes.
Namespace
Drupal\menu_ui\ControllerCode
public function __construct(MenuParentFormSelectorInterface $menu_parent_form) {
$this->menuParentSelector = $menu_parent_form;
}