NodeTypeExampleController.php

Same filename in other branches
  1. 4.0.x modules/node_type_example/src/Controller/NodeTypeExampleController.php

Namespace

Drupal\node_type_example\Controller

File

modules/node_type_example/src/Controller/NodeTypeExampleController.php

View source
<?php

namespace Drupal\node_type_example\Controller;

use Drupal\examples\Utility\DescriptionTemplateTrait;

/**
 * Controller routines for node_type_example.
 *
 * @ingroup node_type_example
 */
class NodeTypeExampleController {
    use DescriptionTemplateTrait;
    
    /**
     * {@inheritdoc}
     */
    protected function getModuleName() {
        return 'node_type_example';
    }

}

Classes

Title Deprecated Summary
NodeTypeExampleController Controller routines for node_type_example.