You are here

protected function SliderPro::getAvailableFields in Slider Pro 8

Returns option list of fields available on view.

2 calls to SliderPro::getAvailableFields()
SliderPro::buildOptionsForm in src/Plugin/views/style/SliderPro.php
Provide a form to edit options for this plugin.
SliderPro::render in src/Plugin/views/style/SliderPro.php
Render the display in this style.

File

src/Plugin/views/style/SliderPro.php, line 460

Class

SliderPro
Plugin annotation @ViewsStyle( id = "slider_pro", title = @Translation("Slider Pro"), help = @Translation("Displays a view as a Slider Pro, using the Slider Pro jQuery plugin."), theme = "slider_pro_views_style", theme_file =…

Namespace

Drupal\slider_pro\Plugin\views\style

Code

protected function getAvailableFields() {
  $view = $this->view;
  return $view->display_handler
    ->getFieldLabels();
}