public function TestController::testPage in Tome 8
Outputs a test page.
1 string reference to 'TestController::testPage'
- tome_test.routing.yml in modules/
tome_static/ tests/ modules/ tome_test/ tome_test.routing.yml - modules/tome_static/tests/modules/tome_test/tome_test.routing.yml
File
- modules/
tome_static/ tests/ modules/ tome_test/ src/ Controller/ TestController.php, line 19
Class
- TestController
- Contains test pages for the tome module.
Namespace
Drupal\tome_test\ControllerCode
public function testPage() {
$response = new HtmlResponse();
$response
->setContent('Hello, world');
return $response;
}