You are here

public function SliderPro::allowFullScreen in Slider Pro 8

Checks if option set has full screen mode.

Return value

bool

Overrides SliderProInterface::allowFullScreen

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

File

src/Entity/SliderPro.php, line 103

Class

SliderPro
Defines the SliderPro entity.

Namespace

Drupal\slider_pro\Entity

Code

public function allowFullScreen() {
  return !empty($this->options['advanced']['full_screen']);
}