You are here

protected function JsExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

js_example/src/Controller/JsExampleController.php, line 22

Class

JsExampleController
Controller for Hooks example description page.

Namespace

Drupal\js_example\Controller

Code

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