photoswipe.api.php in PhotoSwipe 7.2
Same filename and directory in other branches
Hooks provided by the Photoswipe module.
File
photoswipe.api.phpView source
<?php
/**
* @file
* Hooks provided by the Photoswipe module.
*/
/**
* Provides the ability to override Photoswipe default settings.
*
* @param $settings
* Default Photoswipe settings.
*/
function hook_photoswipe_default_settings_alter(&$settings) {
// Disable sharing links.
$settings['shareEl'] = FALSE;
}
Functions
Name | Description |
---|---|
hook_photoswipe_default_settings_alter | Provides the ability to override Photoswipe default settings. |