function help_topics_test_help_topics_info_alter in Drupal 8
Same name and namespace in other branches
- 9 core/modules/help_topics/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 - Test module for help.
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);
}