class ConfigSimpleController
Controller routines for Config Simple Example routes.
Hierarchy
- class \Drupal\config_simple_example\Controller\ConfigSimpleController uses \Drupal\examples\Utility\DescriptionTemplateTrait extends \Drupal\Core\Controller\ControllerBase
Expanded class hierarchy of ConfigSimpleController
File
-
modules/
config_simple_example/ src/ Controller/ ConfigSimpleController.php, line 11
Namespace
Drupal\config_simple_example\ControllerView source
class ConfigSimpleController extends ControllerBase {
use DescriptionTemplateTrait;
/**
* {@inheritdoc}
*/
protected function getModuleName() {
return 'config_simple_example';
}
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
|---|---|---|---|---|---|
| ConfigSimpleController::getModuleName | protected | function | Name of our module. | Overrides DescriptionTemplateTrait::getModuleName | |
| DescriptionTemplateTrait::description | public | function | Generate a render array with our templated content. | ||
| DescriptionTemplateTrait::getDescriptionTemplatePath | protected | function | Get full path to the template. | ||
| DescriptionTemplateTrait::getDescriptionVariables | protected | function | Variables to act as context to the twig template file. | 1 |