view modules/contrib/views_slideshow/src/ViewsSlideshowWidgetInterface.php @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents c69a71b4f40f
children
line wrap: on
line source
<?php

namespace Drupal\views_slideshow;

use Drupal\Component\Plugin\ConfigurablePluginInterface;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Plugin\PluginFormInterface;

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

  /**
   * 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);

}