imagezoom.api.php in Image Zoom 8.2
Same filename and directory in other branches
Hook documentation for the Image Zoom module.
File
imagezoom.api.phpView source
<?php
/**
* @file
* Hook documentation for the Image Zoom module.
*/
/**
* Change settings for the elevateZoom Plus plugin.
*
* For all available settings, see http://igorlino.github.io/elevatezoom-plus/api.htm.
*
* @param array $settings
* A array of settings keyed by the setting name.
* @param array $context
* An array containing information about the field and instance being rendered.
*/
function hook_imagezoom_settings_alter(array &$settings, array $context) {
// Change the border color to red.
$settings['borderColour'] = '#f00';
}
Functions
Name | Description |
---|---|
hook_imagezoom_settings_alter | Change settings for the elevateZoom Plus plugin. |