TourExampleController.php

Same filename in other branches
  1. 4.0.x modules/tour_example/src/Controller/TourExampleController.php

Namespace

Drupal\tour_example\Controller

File

modules/tour_example/src/Controller/TourExampleController.php

View source
<?php

namespace Drupal\tour_example\Controller;

use Drupal\examples\Utility\DescriptionTemplateTrait;

/**
 * Controller routines for tour example routes.
 *
 * This is where our tour page is defined.
 *
 * @ingroup tour_example
 */
class TourExampleController {
    use DescriptionTemplateTrait;
    
    /**
     * {@inheritdoc}
     */
    protected function getModuleName() {
        return 'tour_example';
    }

}

Classes

Title Deprecated Summary
TourExampleController Controller routines for tour example routes.