function hook_help_section_info_alter

hook_help_section_info_alter(&$info)

Perform alterations on help page section plugin definitions.

Sections for the page at /admin/help are provided by plugins. This hook allows modules to alter the plugin definitions.

Parameters

array $info: Array of plugin information exposed by hook page section plugins, altered by reference.

See also

\Drupal\help\HelpSectionPluginInterface

\Drupal\help\Annotation\HelpSection

\Drupal\help\HelpSectionManager

Hooks
Define functions that alter the behavior of Drupal core.

File

core/modules/help/help.api.php, line 73
Hooks for the Help system.

Code

function hook_help_section_info_alter(&$info) {
  // Alter the header for the module overviews section.
  $info['hook_help']['header'] = t('Overviews of modules');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!help!help.api.php/function/hook_help_section_info_alter/8.1.x