You are here

protected function NodeTypeExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

node_type_example/src/Controller/NodeTypeExampleController.php, line 18

Class

NodeTypeExampleController
Controller routines for node_type_example.

Namespace

Drupal\node_type_example\Controller

Code

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