You are here

public static function LightgalleryManager::getLightgalleryModes in Lightgallery 8

Returns all available lightgallery modes.

Return value

array The array.

File

src/Manager/LightgalleryManager.php, line 166

Class

LightgalleryManager
Light gallery manager.

Namespace

Drupal\lightgallery\Manager

Code

public static function getLightgalleryModes() {
  $modes = [
    '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',
  ];
  return array_combine($modes, $modes);
}