BlockExampleController.php
Same filename in other branches
Namespace
Drupal\block_example\ControllerFile
-
block_example/
src/ Controller/ BlockExampleController.php
View source
<?php
namespace Drupal\block_example\Controller;
use Drupal\examples\Utility\DescriptionTemplateTrait;
/**
* Controller routines for block example routes.
*/
class BlockExampleController {
use DescriptionTemplateTrait;
/**
* {@inheritdoc}
*/
protected function getModuleName() {
return 'block_example';
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
BlockExampleController | Controller routines for block example routes. |