You are here

protected function RenderExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

render_example/src/Controller/RenderExampleController.php, line 50

Class

RenderExampleController
Provides module description page and examples of building render arrays.

Namespace

Drupal\render_example\Controller

Code

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