public function TourTestController::tourTest1

Outputs some content for testing tours.

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

File

drupal/core/modules/tour/tests/tour_test/lib/Drupal/tour_test/Controller/TourTestController.php, line 27
Contains \Drupal\tour_test\Controller\TourTestController.

Class

TourTestController
Controller routines for tour_test routes.

Namespace

Drupal\tour_test\Controller

Code

public function tourTest1() {
  return array(
    'tip-1' => array(
      '#type' => 'container',
      '#attributes' => array(
        'id' => 'tour-test-1',
      ),
      '#children' => t('Where does the rain in Spain fail?'),
    ),
    'tip-4' => array(
      '#type' => 'container',
      '#attributes' => array(
        'id' => 'tour-test-4',
      ),
      '#children' => t('Tip created later?'),
    ),
  );
}