function libraries_ui_load in Libraries API 7.2
Loads library information for display in the user interface.
This can be used as a menu loader function by specifying a '%libraries_ui' parameter in a path.
We do not use libraries_load() (and, thus, a '%libraries' parameter) directly for displaying library information in the user interface as we do not want the library files to be loaded.
Parameters
string $name: The machine name of a library to return registered information for.
Return value
array|false An associative array containing registered information for the library specified by $name, or FALSE if the library $name is not registered.
See also
File
- ./
libraries.module, line 1062 - External library handling for Drupal modules.
Code
function libraries_ui_load($name) {
return libraries_detect($name);
}