You are here

function theme_beautytips_drupal_help_more_help_link in BeautyTips 8

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

Returns code that emits the 'more help'-link. Overrides theme_more_help_link

1 string reference to 'theme_beautytips_drupal_help_more_help_link'
beautytips_drupal_help_theme_change in includes/drupal_help.inc
Implementation of hook_theme_registry_alter

File

includes/drupal_help.inc, line 73

Code

function theme_beautytips_drupal_help_more_help_link($variables) {
  $options = [];
  $options['bt_drupal_help'] = [
    'cssSelect' => '.more-help-link a',
    'ajaxPath' => [
      "\$(this).attr('href')",
      '#content',
    ],
    'trigger' => [
      0 => 'mouseover',
      1 => 'click',
    ],
    'width' => 600,
  ];
  beautytips_add_beautytips($options);
  return theme_more_help_link($variables);
}