You are here

protected function DrupalSlider::getAvailableFields in Drupal Slider 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/style/DrupalSlider.php \Drupal\drupal_slider\Plugin\views\style\DrupalSlider::getAvailableFields()

Returns option list of fields available on view.

1 call to DrupalSlider::getAvailableFields()
DrupalSlider::buildOptionsForm in src/Plugin/views/style/DrupalSlider.php
Function buildOptionsForm.

File

src/Plugin/views/style/DrupalSlider.php, line 164

Class

DrupalSlider
Views_style_plugins for drupal_slider.

Namespace

Drupal\drupal_slider\Plugin\views\style

Code

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