You are here

public static function GroupsEnum::toArray in Lightgallery 8

Returns array of all groups.

1 call to GroupsEnum::toArray()
LightgalleryFormatter::defaultSettings in src/Plugin/Field/FieldFormatter/LightgalleryFormatter.php
Defines the default settings for this plugin.

File

src/Group/GroupsEnum.php, line 20

Class

GroupsEnum
Groups enum.

Namespace

Drupal\lightgallery\Group

Code

public static function toArray() {
  return [
    self::LIGHTGALLERY_CORE,
    self::LIGHTGALLERY_THUMBS,
    self::LIGHTGALLERY_AUTOPLAY,
    self::LIGHTGALLERY_FULL_SCREEN,
    self::LIGHTGALLERY_PAGER,
    self::LIGHTGALLERY_ZOOM,
    self::LIGHTGALLERY_HASH,
  ];
}