comparison 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
comparison
equal deleted inserted replaced
4:8948ab6c87d2 5:c69a71b4f40f
1 <?php
2
3 namespace Drupal\views_slideshow;
4
5 use Drupal\Component\Plugin\ConfigurablePluginInterface;
6 use Drupal\Component\Plugin\PluginInspectionInterface;
7 use Drupal\Core\Plugin\PluginFormInterface;
8
9 /**
10 * Provides an interface for a Views slideshow widget.
11 */
12 interface ViewsSlideshowWidgetInterface extends PluginInspectionInterface, ConfigurablePluginInterface, PluginFormInterface {
13
14 /**
15 * Check if the widget is compatible with the current view configuration.
16 *
17 * @return bool
18 * TRUE if the widget is compatible with the view.
19 */
20 public function checkCompatiblity($view);
21
22 }