You are here

protected function TourExampleController::getModuleName in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/tour_example/src/Controller/TourExampleController.php \Drupal\tour_example\Controller\TourExampleController::getModuleName()

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

tour_example/src/Controller/TourExampleController.php, line 20

Class

TourExampleController
Controller routines for tour example routes.

Namespace

Drupal\tour_example\Controller

Code

protected function getModuleName() {
  return 'tour_example';
}