function theme_qtip_views_label_tooltip in qTip (Stylish jQuery Tooltips) 7.2
Theme function for qtip_views_label_tooltip.
1 theme call to theme_qtip_views_label_tooltip()
- qtip_views_views_pre_render in modules/
qtip_views/ qtip_views.module - Implements hook_views_pre_render().
File
- modules/
qtip_views/ qtip_views.module, line 245
Code
function theme_qtip_views_label_tooltip(&$variables) {
$element = theme('image', array(
'path' => base_path() . 'misc/help.png',
'attributes' => array(
'class' => array(
'qtip-views-' . $variables['view']->name . '-' . $variables['view']->current_display,
),
),
));
// This MUST be included in any theme overrides for the tooltip to display
$element .= theme('qtip_views_tooltip', array(
'view' => $variables['view'],
'text' => $variables['tooltip'],
'instance' => $variables['instance'] ? $variables['instance'] : qtip_fetch_default_instance(),
));
return $element;
}