You are here

PageManagerTestController.php in Page Manager 8

File

tests/modules/page_manager_test/src/Controller/PageManagerTestController.php
View source
<?php

/**
 * @file
 * Contains \Drupal\page_manager_test\Controller\PageManagerTestController.
 */
namespace Drupal\page_manager_test\Controller;

use Drupal\Core\Controller\ControllerBase;

/**
 * Provides route controller for Page Manager Test.
 */
class PageManagerTestController extends ControllerBase {

  /**
   * Returns a render array for this page.
   */
  public function helloWorld($page) {
    return [
      '#markup' => "Hello World! Page {$page}",
    ];
  }

}

Classes

Namesort descending Description
PageManagerTestController Provides route controller for Page Manager Test.