function system_test_help

Same name in other branches
  1. 9 core/modules/system/tests/modules/system_test/system_test.module \system_test_help()
  2. 10 core/modules/system/tests/modules/system_test/system_test.module \system_test_help()
  3. 11.x core/modules/system/tests/modules/system_test/system_test.module \system_test_help()

Implements hook_help().

File

core/modules/system/tests/modules/system_test/system_test.module, line 16

Code

function system_test_help($route_name, RouteMatchInterface $route_match) {
    switch ($route_name) {
        case 'help.page.system_test':
            $output = '';
            $output .= '<h3>' . t('Test Help Page') . '</h3>';
            $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.