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

Related topics

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');
}
doc_Drupal
2016-10-29 09:18:15
Comments
Leave a Comment

Please login to continue.