BlockExampleController.php

Same filename in other branches
  1. 3.x modules/block_example/src/Controller/BlockExampleController.php

Namespace

Drupal\block_example\Controller

File

modules/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.