You are here

function asset_preprocess_html in Asset 7

Implements hook_preprocess_html().

If the current page request is inside the tooltip, add appropriate classes to the <body> element

File

./asset.module, line 734
Asset module.

Code

function asset_preprocess_html(&$variables) {
  if (asset_is_tooltip()) {
    $variables['classes_array'][] = 'tooltip-iframe-element-body';
  }
}