function help_topics_test_help

Same name and namespace in other branches
  1. 9 core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.module \help_topics_test_help()
  2. 8.9.x core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.module \help_topics_test_help()
  3. 10 core/modules/help/tests/modules/help_topics_test/help_topics_test.module \help_topics_test_help()

Implements hook_help().

File

core/modules/help/tests/modules/help_topics_test/help_topics_test.module, line 13

Code

function help_topics_test_help($route_name, RouteMatchInterface $route_match) {
    switch ($route_name) {
        case 'help.page.help_topics_test':
            return 'Some kind of non-empty output for testing';
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.