You are here

function theme_qtip_form in qTip (Stylish jQuery Tooltips) 7.2

1 theme call to theme_qtip_form()
qtip_field_field_widget_form_alter in modules/qtip_field/qtip_field.module
Implements hook_field_widget_form_alter().

File

includes/qtip.theme.inc, line 22

Code

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