You are here

function beautytips_drupal_help_main in BeautyTips 8

Same name and namespace in other branches
  1. 6.2 includes/drupal_help.inc \beautytips_drupal_help_main()
  2. 7.2 includes/drupal_help.inc \beautytips_drupal_help_main()

Menu callback; prints a page listing a glossary of Drupal terminology. Beautytips added for the help links

1 string reference to 'beautytips_drupal_help_main'
beautytips_drupal_help_menu_change in includes/drupal_help.inc
Implementation of hook_menu_alter()

File

includes/drupal_help.inc, line 40

Code

function beautytips_drupal_help_main() {
  require_once drupal_get_path('module', 'help') . '/help.admin.inc';

  //  Add in beautytips on page - admin/help
  $options['bt_drupal_help_page'] = [
    'cssSelect' => '.help-items li a',
    'ajaxPath' => [
      "\$(this).attr('href')",
      '.content',
    ],
    'trigger' => [
      'mouseover',
      'click',
    ],
    'width' => 350,
  ];
  beautytips_add_beautytips($options);
  return help_main();
}