You are here

protected function PHPUnitExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

phpunit_example/src/Controller/PHPUnitExampleController.php, line 21

Class

PHPUnitExampleController
Controller for PHPUnit description page.

Namespace

Drupal\phpunit_example\Controller

Code

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