protected function MenuExampleController::getModuleName in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/menu_example/src/Controller/MenuExampleController.php \Drupal\menu_example\Controller\MenuExampleController::getModuleName()
Name of our module.
Return value
string A module name.
Overrides DescriptionTemplateTrait::getModuleName
File
- menu_example/
src/ Controller/ MenuExampleController.php, line 32
Class
- MenuExampleController
- Controller routines for menu example routes.
Namespace
Drupal\menu_example\ControllerCode
protected function getModuleName() {
return 'menu_example';
}