You are here

protected function TestingExampleController::getModuleName in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 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

modules/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';
}