You are here

function qtip_views_fetch_label_tooltips in qTip (Stylish jQuery Tooltips) 7.2

Helper function to get label tooltips.

2 calls to qtip_views_fetch_label_tooltips()
qtip_views_form_alter in modules/qtip_views/qtip_views.module
Implements hook_form_alter().
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 277

Code

function qtip_views_fetch_label_tooltips($view) {
  if (isset($view->display_handler->display->display_options['fields'])) {

    // Fields are overridden: use this display's tooltips.
    return @$view->display_handler->display->display_options['qtip_tooltips'];
  }

  // Fields are default: use default display's tooltips.
  return @$view->display['default']->display_options['qtip_tooltips'];
}