You are here

protected function HooksExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

hooks_example/src/Controller/HooksExampleController.php, line 19

Class

HooksExampleController
Controller for Hooks example description page.

Namespace

Drupal\hooks_example\Controller

Code

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