function _lightgallery_get_modes in Lightgallery 7
Fetches available lightgallery modes.
2 calls to _lightgallery_get_modes()
- lightgallery_field_formatter_settings_form in includes/
lightgallery.field.inc - Implements hook_field_formatter_settings_form().
- lightgallery_style_plugin::options_form in views/
lightgallery_style_plugin.inc - Adds Lightgallery configuration form options.
File
- ./
lightgallery.module, line 246
Code
function _lightgallery_get_modes() {
return drupal_map_assoc(array(
'lg-slide',
'lg-fade',
'lg-zoom-in',
'lg-zoom-in-big',
'lg-zoom-out',
'lg-zoom-out-big',
'lg-zoom-out-in',
'lg-zoom-in-out',
'lg-soft-zoom',
'lg-scale-up',
'lg-slide-circular',
'lg-slide-circular-vertical',
'lg-slide-vertical',
'lg-slide-vertical-growth',
'lg-slide-skew-only',
'lg-slide-skew-only-rev',
'lg-slide-skew-only-y',
'lg-slide-skew-only-y-rev',
'lg-slide-skew',
'lg-slide-skew-rev',
'lg-slide-skew-cross',
'lg-slide-skew-cross-rev',
'lg-slide-skew-ver',
'lg-slide-skew-ver-rev',
'lg-slide-skew-ver-cross',
'lg-slide-skew-ver-cross-rev',
'lg-lollipop',
'lg-lollipop-rev',
'lg-rotate',
'lg-rotate-rev',
'lg-tube',
));
}