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