public static function LightgalleryManager::getSettingFields in Lightgallery 8
Returns all fields that have to be displayed on settings form.
2 calls to LightgalleryManager::getSettingFields()
- LightGallery::buildOptionsForm in src/
Plugin/ views/ style/ LightGallery.php - Provide a form to edit options for this plugin.
- LightgalleryFormatter::settingsForm in src/
Plugin/ Field/ FieldFormatter/ LightgalleryFormatter.php - Returns a form to configure settings for the formatter.
File
- src/
Manager/ LightgalleryManager.php, line 89
Class
- LightgalleryManager
- Light gallery manager.
Namespace
Drupal\lightgallery\ManagerCode
public static function getSettingFields() {
return [
// LIGHTGALLERY CORE FIELDS.
new FieldThumbnail(),
new FieldImage(),
new FieldTitle(),
new FieldThumbImageStyle(),
new FieldLightgalleryImageStyle(),
new FieldTitleSource(),
new FieldMode(),
new FieldPreload(),
new FieldClosable(),
new FieldLoop(),
new FieldEscKey(),
new FieldKeyPress(),
new FieldControls(),
new FieldMouseWheel(),
new FieldDownload(),
new FieldCounter(),
new FieldDrag(),
new FieldTouch(),
// LIGHTGALLERY THUMB FIELDS.
new FieldUseThumbs(),
new FieldAnimateThumb(),
new FieldCurrentPagerPosition(),
new FieldThumbWidth(),
new FieldThumbHeight(),
// LIGHTGALLERY AUTPLAY FIELDS.
new FieldAutoplay(),
new FieldPause(),
new FieldProgress(),
new FieldAutoplayControls(),
// LIGHTGALLERY FULL SCREEN FIELDS.
new FieldFullscreen(),
// LIGHTGALLERY PAGER FIELDS.
new FieldPager(),
// LIGHTGALLERY ZOOM FIELDS.
new FieldZoom(),
new FieldScale(),
// LIGHTGALLERY HASH FIELDS.
new FieldHash(),
new FieldGalleryId(),
];
}