You are here

function system_test_help in Drupal 8

Same name and namespace 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()

Implements hook_help().

File

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

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;
  }
}