private function LightGallery::getImageFields in Lightgallery 8
Returns available image fields on view.
1 call to LightGallery::getImageFields()
- LightGallery::buildOptionsForm in src/
Plugin/ views/ style/ LightGallery.php - Provide a form to edit options for this plugin.
File
- src/
Plugin/ views/ style/ LightGallery.php, line 283
Class
- LightGallery
- Style plugin to render each item in an ordered or unordered list.
Namespace
Drupal\lightgallery\Plugin\views\styleCode
private function getImageFields() {
return !empty($this->fieldSources['field_options_images']) ? $this->fieldSources['field_options_images'] : [];
}