protected function JsExampleController::getModuleName in Examples for Developers 8
Same name and namespace in other branches
- 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\ControllerCode
protected function getModuleName() {
return 'js_example';
}