You are here

imagezoom.api.php in Image Zoom 8.3

Same filename and directory in other branches
  1. 8.2 imagezoom.api.php
  2. 7.2 imagezoom.api.php

Hook documentation for the Image Zoom module.

File

imagezoom.api.php
View 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

Namesort descending Description
hook_imagezoom_settings_alter Change settings for the elevateZoom Plus plugin.