You are here

protected function PageExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

page_example/src/Controller/PageExampleController.php, line 19

Class

PageExampleController
Controller routines for page example routes.

Namespace

Drupal\page_example\Controller

Code

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