You are here

function theme_qtip_views_tooltip in qTip (Stylish jQuery Tooltips) 7.2

Theme function for qtip_views_tooltip.

2 theme calls to theme_qtip_views_tooltip()
qtip_views_preprocess_views_view in modules/qtip_views/qtip_views.module
Implements hook_preprocess_views_view().
theme_qtip_views_label_tooltip in modules/qtip_views/qtip_views.module
Theme function for qtip_views_label_tooltip.

File

modules/qtip_views/qtip_views.module, line 268

Code

function theme_qtip_views_tooltip(&$variables) {
  return '<span class="qtip-tooltip"' . (isset($variables['title']) ? ' data-qtip-title="' . filter_xss_admin($variables['title']) . '"' : '') . (isset($variables['instance']) ? ' data-qtip-instance="' . $variables['instance'] . '"' : '') . '>' . filter_xss_admin($variables['text']) . '</span>';
}