function LinksetController::__construct
Same name in other branches
- 10 core/modules/system/src/Controller/LinksetController.php \Drupal\system\Controller\LinksetController::__construct()
Linkset constructor.
Parameters
\Drupal\Core\Menu\MenuLinkTreeInterface $menuTree: The menu tree loader service. This is used to load a menu's link elements so that they can be serialized into a linkset response.
File
-
core/
modules/ system/ src/ Controller/ LinksetController.php, line 33
Class
- LinksetController
- Linkset controller.
Namespace
Drupal\system\ControllerCode
public function __construct(MenuLinkTreeInterface $menuTree) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.