diff modules/contrib/views_slideshow/src/ViewsSlideshowSkinInterface.php @ 5:c69a71b4f40f

Add slideshow module
author Chris Cannam
date Thu, 07 Dec 2017 14:46:23 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/contrib/views_slideshow/src/ViewsSlideshowSkinInterface.php	Thu Dec 07 14:46:23 2017 +0000
@@ -0,0 +1,26 @@
+<?php
+
+namespace Drupal\views_slideshow;
+
+/**
+ * Provides an interface for Views slideshow skins.
+ */
+interface ViewsSlideshowSkinInterface {
+
+  /**
+   * Returns a array of libraries to attach when the skin is used.
+   *
+   * @return array
+   *   The libraries to be attached.
+   */
+  public function getLibraries();
+
+  /**
+   * Returns a class to be added to templates.
+   *
+   * @return string
+   *   The class name.
+   */
+  public function getClass();
+
+}