PageManagerTestController.php in Page Manager 8.4
Same filename and directory in other branches
Namespace
Drupal\page_manager_test\ControllerFile
tests/modules/page_manager_test/src/Controller/PageManagerTestController.phpView source
<?php
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
Name | Description |
---|---|
PageManagerTestController | Provides route controller for Page Manager Test. |