function help_topics_test_help_topics_info_alter

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

Implements hook_help_topics_info_alter().

File

core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.module, line 23

Code

function help_topics_test_help_topics_info_alter(array &$info) {
    $info['help_topics_test.test']['top_level'] = \Drupal::state()->get('help_topics_test.test:top_level', TRUE);
}

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