You are here

public function PageManagerTestController::helloWorld in Page Manager 8.4

Same name and namespace in other branches
  1. 8 tests/modules/page_manager_test/src/Controller/PageManagerTestController.php \Drupal\page_manager_test\Controller\PageManagerTestController::helloWorld()

Returns a render array for this page.

1 string reference to 'PageManagerTestController::helloWorld'
page_manager_test.routing.yml in tests/modules/page_manager_test/page_manager_test.routing.yml
tests/modules/page_manager_test/page_manager_test.routing.yml

File

tests/modules/page_manager_test/src/Controller/PageManagerTestController.php, line 15

Class

PageManagerTestController
Provides route controller for Page Manager Test.

Namespace

Drupal\page_manager_test\Controller

Code

public function helloWorld($page) {
  return [
    '#markup' => "Hello World! Page {$page}",
  ];
}