annotate modules/contrib/views_slideshow/src/ViewsSlideshowWidgetInterface.php @ 5:c69a71b4f40f

Add slideshow module
author Chris Cannam
date Thu, 07 Dec 2017 14:46:23 +0000
parents
children
rev   line source
Chris@5 1 <?php
Chris@5 2
Chris@5 3 namespace Drupal\views_slideshow;
Chris@5 4
Chris@5 5 use Drupal\Component\Plugin\ConfigurablePluginInterface;
Chris@5 6 use Drupal\Component\Plugin\PluginInspectionInterface;
Chris@5 7 use Drupal\Core\Plugin\PluginFormInterface;
Chris@5 8
Chris@5 9 /**
Chris@5 10 * Provides an interface for a Views slideshow widget.
Chris@5 11 */
Chris@5 12 interface ViewsSlideshowWidgetInterface extends PluginInspectionInterface, ConfigurablePluginInterface, PluginFormInterface {
Chris@5 13
Chris@5 14 /**
Chris@5 15 * Check if the widget is compatible with the current view configuration.
Chris@5 16 *
Chris@5 17 * @return bool
Chris@5 18 * TRUE if the widget is compatible with the view.
Chris@5 19 */
Chris@5 20 public function checkCompatiblity($view);
Chris@5 21
Chris@5 22 }