public function DevelTestController::simplePage in Devel 8.3
Same name and namespace in other branches
- 8 tests/modules/devel_test/src/Controller/DevelTestController.php \Drupal\devel_test\Controller\DevelTestController::simplePage()
- 8.2 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 18
Class
- DevelTestController
- Returns responses for devel module routes.
Namespace
Drupal\devel_test\ControllerCode
public function simplePage() {
return [
'#markup' => $this
->t('Simple page'),
];
}