You are here

function hook_masonry_default_options_alter in Masonry API 8

Same name and namespace in other branches
  1. 7.3 masonry.api.php \hook_masonry_default_options_alter()
  2. 7.2 masonry.api.php \hook_masonry_default_options_alter()

Alter Masonry's default options.

Parameters

$options: An associative array of option names and their default values.

File

./masonry.api.php, line 16
Hooks provided by Masonry.

Code

function hook_masonry_default_options_alter(&$options) {

  // Add default value for easing option
  $options['masonry_animation_easing'] = 'swing';
}