Projet

Général

Profil

Révision b433176d

Ajouté par Assos Assos il y a environ 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/colorbox/colorbox.api.php
11 11
 * Implements hook_colorbox_settings_alter().
12 12
 *
13 13
 * @param array $settings
14
 *   An associative array of Colorbox settings. See the
15
 *   @link http://colorpowered.com/colorbox/ Colorbox documentation @endlink
16
 *   for the full list of supported parameters.
14
 *   An associative array of Colorbox settings. See the.
17 15
 * @param string $style
18 16
 *   The name of the active style plugin. If $style is 'none', no Colorbox
19 17
 *   theme will be loaded.
18
 *
19
 * @link http://colorpowered.com/colorbox/ Colorbox documentation @endlink
20
 *   for the full list of supported parameters.
21
 *
22
 * @codingStandardsIgnoreStart
20 23
 */
21 24
function hook_colorbox_settings_alter(&$settings, &$style) {
25
  // @codingStandardsIgnoreEnd.
22 26
  // Disable automatic downscaling of images to maxWidth/maxHeight size.
23 27
  $settings['scalePhotos'] = FALSE;
24 28

  

Formats disponibles : Unified diff