public function ReportController::__construct in farmOS 2.x
Constructs a new ReportController.
Parameters
\Drupal\Core\Menu\MenuLinkTreeInterface $menu_link_tree: The menu link tree service.
File
- modules/
core/ report/ src/ Controller/ ReportController.php, line 32
Class
- ReportController
- Report controller.
Namespace
Drupal\farm_report\ControllerCode
public function __construct(MenuLinkTreeInterface $menu_link_tree) {
$this->menuLinkTree = $menu_link_tree;
}