You are here

function _selectmenu_find_libs in jQuery UI selectmenu 7

Same name and namespace in other branches
  1. 7.2 selectmenu.module \_selectmenu_find_libs()

Return the path of jQuery UI Selectmeu plugin.

@todo Support the Libraries module. @todo Check for multiple possible locations for the presence of the Selectmenu plugin. @todo Check for versions of the Selectmenu plugin.

Return value

string Path for the jquery.ui.selectmenu jQuery plugin, relative to Drupal root.

1 call to _selectmenu_find_libs()
_selectmenu_add_libs in ./selectmenu.module
Put necessary JS related settings into Drupal.settings. Force load required jQuery plugins.

File

./selectmenu.module, line 112

Code

function _selectmenu_find_libs() {
  return drupal_get_path('module', 'selectmenu') . '/js/jquery.ui.selectmenu';
}