You are here

function galleria_get_plugin_file in Galleria 7

Returns the JavaScript file of the given plugin, or FALSE if it could not be found.

1 call to galleria_get_plugin_file()
galleria_add_js in ./galleria.module
This function loads the required JavaScripts and settings for a Galleria instance.

File

./galleria.module, line 328
A light-weight, customizable image gallery plugin for Drupal based on jQuery

Code

function galleria_get_plugin_file($plugin) {
  $plugins = galleria_get_plugins();
  return isset($plugins[$plugin]) ? $plugins[$plugin] : FALSE;
}