You are here

function hook_webform_help_info_alter in Webform 6.x

Same name and namespace in other branches
  1. 8.5 webform.api.php \hook_webform_help_info_alter()

Alter the webform help.

Parameters

array $help: Webform help data as collected from hook_webform_help_info().

1 invocation of hook_webform_help_info_alter()
WebformHelpManager::initHelp in src/WebformHelpManager.php
Initialize help.

File

./webform.api.php, line 570
Hooks related to Webform module.

Code

function hook_webform_help_info_alter(array &$help) {
  if (isset($help['some_help_i_wanna_change'])) {
    $help['title'] = t('This is a really cool help message. Do read it thorough!');
  }
}