You are here

public function HackedDiffController::hackedProjectDiffTitle in Hacked! 8.2

Menu title callback for the hacked site report page.

1 string reference to 'HackedDiffController::hackedProjectDiffTitle'
hacked.routing.yml in ./hacked.routing.yml
hacked.routing.yml

File

src/Controller/HackedDiffController.php, line 113

Class

HackedDiffController
Controller routines for hacked routes.

Namespace

Drupal\hacked\Controller

Code

public function hackedProjectDiffTitle(hackedProject $project) {
  $file = \Drupal::request()
    ->get('file');
  return $this
    ->t('Hacked status for @file in project @project', [
    '@project' => $project
      ->title(),
    '@file' => $file,
  ]);
}