You are here

protected function TestingExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

testing_example/src/Controller/TestingExampleController.php, line 22

Class

TestingExampleController
Controller for testing_example module.

Namespace

Drupal\testing_example\Controller

Code

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