You are here

public function TourTestController::tourTest2 in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/tour/tests/tour_test/src/Controller/TourTestController.php \Drupal\tour_test\Controller\TourTestController::tourTest2()

Outputs some content for testing tours.

1 string reference to 'TourTestController::tourTest2'
tour_test.routing.yml in core/modules/tour/tests/tour_test/tour_test.routing.yml
core/modules/tour/tests/tour_test/tour_test.routing.yml

File

core/modules/tour/tests/tour_test/src/Controller/TourTestController.php, line 68
Contains \Drupal\tour_test\Controller\TourTestController.

Class

TourTestController
Controller routines for tour_test routes.

Namespace

Drupal\tour_test\Controller

Code

public function tourTest2() {
  return array(
    '#type' => 'container',
    '#attributes' => array(
      'id' => 'tour-test-2',
    ),
    '#children' => t('Pangram example'),
  );
}