function hook_imagezoom_settings_alter in Image Zoom 7.2
Same name and namespace in other branches
- 8.3 imagezoom.api.php \hook_imagezoom_settings_alter()
- 8.2 imagezoom.api.php \hook_imagezoom_settings_alter()
Change settings for the elevatezoom plugin.
For all available settings, see http://igorlino.github.io/elevatezoom-plus/api.htm.
Parameters
array $settings: A array of settings keyed by the setting name.
array $context: An array containing information about the field and instance being rendered.
2 invocations of hook_imagezoom_settings_alter()
- imagezoom_field_formatter_view in ./
imagezoom.module - Implements hook_field_formatter_view().
- imagezoom_gallery_field_formatter_view in modules/
imagezoom_gallery/ imagezoom_gallery.module - Implements hook_field_formatter_view().
File
- ./
imagezoom.api.php, line 19 - Hook documentation for the Image Zoom module.
Code
function hook_imagezoom_settings_alter(&$settings, $context) {
// Change the border color to red
$settings['borderColour'] = '#f00';
}