You are here

public function Navigation404Controller::notFound in 404 Navigation 8

Returns "Not found" text.

1 string reference to 'Navigation404Controller::notFound'
navigation404.routing.yml in ./navigation404.routing.yml
navigation404.routing.yml

File

src/Controller/Navigation404Controller.php, line 17
Contains \Drupal\navigation404\Controller\Navigation404Controller.

Class

Navigation404Controller
Provides route responses for navigation404.module.

Namespace

Drupal\navigation404\Controller

Code

public function notFound() {
  return array(
    '#markup' => t('The requested page could not be found.'),
  );
}