function more_help_page_test_help
Same name in other branches
- 9 core/modules/help/tests/modules/more_help_page_test/more_help_page_test.module \more_help_page_test_help()
- 8.9.x core/modules/help/tests/modules/more_help_page_test/more_help_page_test.module \more_help_page_test_help()
- 10 core/modules/help/tests/modules/more_help_page_test/more_help_page_test.module \more_help_page_test_help()
Implements hook_help().
File
-
core/
modules/ help/ tests/ modules/ more_help_page_test/ more_help_page_test.module, line 15
Code
function more_help_page_test_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Return help for the same route as the help_page_test module.
case 'help_page_test.test_array':
return [
'#markup' => 'Help text from more_help_page_test_help module.',
];
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.