You are here

ViewsSlideshowWidgetInterface.php in Views Slideshow 8.4

File

src/ViewsSlideshowWidgetInterface.php
View source
<?php

namespace Drupal\views_slideshow;

use Drupal\Component\Plugin\ConfigurableInterface;
use Drupal\Component\Plugin\DependentPluginInterface;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Plugin\PluginFormInterface;

/**
 * Provides an interface for a Views slideshow widget.
 */
interface ViewsSlideshowWidgetInterface extends PluginInspectionInterface, ConfigurableInterface, PluginFormInterface, DependentPluginInterface {

  /**
   * Check if the widget is compatible with the current view configuration.
   *
   * @return bool
   *   TRUE if the widget is compatible with the view.
   */
  public function checkCompatiblity($view);

}

Interfaces

Namesort descending Description
ViewsSlideshowWidgetInterface Provides an interface for a Views slideshow widget.