You are here

private function LightGallery::getNonImageFields in Lightgallery 8

Returns available fields on view apart from images.

1 call to LightGallery::getNonImageFields()
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 290

Class

LightGallery
Style plugin to render each item in an ordered or unordered list.

Namespace

Drupal\lightgallery\Plugin\views\style

Code

private function getNonImageFields() {
  return !empty($this->fieldSources['field_options']) ? $this->fieldSources['field_options'] : [];
}