public function HelpPageTestController::hasHelp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/help/tests/modules/help_page_test/src/HelpPageTestController.php \Drupal\help_page_test\HelpPageTestController::hasHelp()
Provides a route with help.
Return value
array A render array.
1 string reference to 'HelpPageTestController::hasHelp'
- help_page_test.routing.yml in core/
modules/ help/ tests/ modules/ help_page_test/ help_page_test.routing.yml - core/modules/help/tests/modules/help_page_test/help_page_test.routing.yml
File
- core/
modules/ help/ tests/ modules/ help_page_test/ src/ HelpPageTestController.php, line 16
Class
- HelpPageTestController
- Provides controllers for testing the help block.
Namespace
Drupal\help_page_testCode
public function hasHelp() {
return [
'#markup' => 'A route with help.',
];
}