You are here

protected function AjaxExampleController::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

ajax_example/src/Controller/AjaxExampleController.php, line 22

Class

AjaxExampleController
Controller routines for AJAX example routes.

Namespace

Drupal\ajax_example\Controller

Code

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