You are here

public function SliderPro::hasThumbnails in Slider Pro 8

Checks if option set requires thumbnails.

Return value

bool

Overrides SliderProInterface::hasThumbnails

1 call to SliderPro::hasThumbnails()
SliderPro::toOptionSet in src/Entity/SliderPro.php
Returns an array formatted to use as JS option set.

File

src/Entity/SliderPro.php, line 89

Class

SliderPro
Defines the SliderPro entity.

Namespace

Drupal\slider_pro\Entity

Code

public function hasThumbnails() {
  return !empty($this
    ->getOption('thumbnail_position'));
}