function system_test_help
Same name in other branches
- 9 core/modules/system/tests/modules/system_test/system_test.module \system_test_help()
- 8.9.x core/modules/system/tests/modules/system_test/system_test.module \system_test_help()
Implements hook_help().
1 string reference to 'system_test_help'
- DrupalFlushAllCachesTest::testDrupalFlushAllCachesModuleList in core/
tests/ Drupal/ KernelTests/ Core/ Common/ DrupalFlushAllCachesTest.php - Tests that drupal_flush_all_caches() uses core.extension properly.
File
-
core/
modules/ system/ tests/ modules/ system_test/ system_test.module, line 14
Code
function system_test_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.system_test':
$output = '';
$output .= '<h2>' . t('Test Help Page') . '</h2>';
$output .= '<p>' . t('This is a test help page for the system_test module for the purpose of testing if the "Help" link displays properly.') . '</p>';
return $output;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.