You are here

protected function FieldExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

field_example/src/Controller/FieldExampleController.php, line 20

Class

FieldExampleController
Controller for field example description page.

Namespace

Drupal\field_example\Controller

Code

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