public function PmDashboardController::dashboard in Drupal PM (Project Management) 4.x
Dashboard.
Return value
string Return Hello string.
1 string reference to 'PmDashboardController::dashboard'
File
- src/
Controller/ PmDashboardController.php, line 68
Class
- PmDashboardController
- Dashboard Controller.
Namespace
Drupal\pm\ControllerCode
public function dashboard() {
return [
'dashboard' => [
'#theme' => 'pm_dashboard',
'#items' => $this
->getDashboardLinks(),
],
'#cache' => [
'max-age' => 0,
],
];
}