You are here

public function Page::getModuleName in Examples for Developers 8

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

Name of our module.

Return value

string A module name.

Overrides DescriptionTemplateTrait::getModuleName

File

form_api_example/src/Controller/Page.php, line 17

Class

Page
Simple page controller for drupal.

Namespace

Drupal\form_api_example\Controller

Code

public function getModuleName() {
  return 'form_api_example';
}