You are here

public function HackedController::hackedProject in Hacked! 8.2

Parameters

\Drupal\hacked\hackedProject $project:

Return value

array

1 string reference to 'HackedController::hackedProject'
hacked.routing.yml in ./hacked.routing.yml
hacked.routing.yml

File

src/Controller/HackedController.php, line 17

Class

HackedController
Controller routines for hacked routes.

Namespace

Drupal\hacked\Controller

Code

public function hackedProject(hackedProject $project) {
  return [
    '#theme' => 'hacked_detailed_report',
    '#project' => $project
      ->compute_details(),
  ];
}