function DevelTestController::simplePage
Same name in other branches
- 8.x-1.x tests/modules/devel_test/src/Controller/DevelTestController.php \Drupal\devel_test\Controller\DevelTestController::simplePage()
- 4.x tests/modules/devel_test/src/Controller/DevelTestController.php \Drupal\devel_test\Controller\DevelTestController::simplePage()
Returns a simple page output.
Return value
array A render array.
1 string reference to 'DevelTestController::simplePage'
- devel_test.routing.yml in tests/
modules/ devel_test/ devel_test.routing.yml - tests/modules/devel_test/devel_test.routing.yml
File
-
tests/
modules/ devel_test/ src/ Controller/ DevelTestController.php, line 29
Class
- DevelTestController
- Returns responses for devel module routes.
Namespace
Drupal\devel_test\ControllerCode
public function simplePage() : array {
return [
'#markup' => $this->t('Simple page'),
];
}