function beautytips_drupal_help_menu_change in BeautyTips 8
Same name and namespace in other branches
- 6.2 includes/drupal_help.inc \beautytips_drupal_help_menu_change()
- 7.2 includes/drupal_help.inc \beautytips_drupal_help_menu_change()
Implementation of hook_menu_alter()
File
- includes/
drupal_help.inc, line 28
Code
function beautytips_drupal_help_menu_change(&$items) {
if (\Drupal::state()
->get('beautytips_drupal_help', FALSE)) {
$items['admin/help']['page callback'] = 'beautytips_drupal_help_main';
$items['admin/help']['file path'] = drupal_get_path('module', 'beautytips') . '/includes';
$items['admin/help']['file'] = 'drupal_help.inc';
}
}