You are here

public function HackedController::hackedProjectTitle in Hacked! 8.2

Menu title callback for the hacked details page.

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

File

src/Controller/HackedController.php, line 27

Class

HackedController
Controller routines for hacked routes.

Namespace

Drupal\hacked\Controller

Code

public function hackedProjectTitle(hackedProject $project) {
  return $this
    ->t('Hacked status for @project', [
    '@project' => $project
      ->title(),
  ]);
}