You are here

public function PagerFields::checkCompatiblity in Views Slideshow 8.4

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/PagerFields.php, line 86

Class

PagerFields
Provides a pager using fields.

Namespace

Drupal\views_slideshow\Plugin\ViewsSlideshowWidget

Code

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