You are here

public function JCarouselPager::checkCompatiblity in Views Slideshow JCarousel 8

Check if the widget is compatible with the current view configuration.

Return value

bool TRUE if the widget is compatible with the view.

Overrides ViewsSlideshowWidgetBase::checkCompatiblity

File

src/Plugin/ViewsSlideshowWidget/JCarouselPager.php, line 270

Class

JCarouselPager
Provides a pager using fields.

Namespace

Drupal\views_slideshow_jcarousel\Plugin\ViewsSlideshowWidget

Code

public function checkCompatiblity($view) {
  return $view
    ->getStyle()
    ->usesFields();
}