You are here

function asset_widget_is_tooltip in Asset 7

Helper to determine that current path used for tooltip in widget.

1 call to asset_widget_is_tooltip()
asset_widget_library_alter in modules/asset_widget/asset_widget.module
Implements hook_library_alter().

File

modules/asset_widget/asset_widget.module, line 62
Code for the Asset widget module.

Code

function asset_widget_is_tooltip() {
  return drupal_match_path($_GET['q'], 'assets/tooltip/*') && !empty($_GET['asset_widget_tooltip']);
}