Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / slick / src / SlickManagerInterface.php
1 <?php
2
3 namespace Drupal\slick;
4
5 /**
6  * Defines re-usable services and functions for slick plugins.
7  */
8 interface SlickManagerInterface {
9
10   /**
11    * Returns a cacheable renderable array of a single slick instance.
12    *
13    * @param array $build
14    *   An associative array containing:
15    *   - items: An array of slick contents: text, image or media.
16    *   - options: An array of key:value pairs of custom JS overrides.
17    *   - optionset: The cached optionset object to avoid multiple invocations.
18    *   - settings: An array of key:value pairs of HTML/layout related settings.
19    *
20    * @return array
21    *   The cacheable renderable array of a slick instance, or empty array.
22    */
23   public static function slick(array $build = []);
24
25   /**
26    * Returns a renderable array of both main and thumbnail slick instances.
27    *
28    * @param array $build
29    *   An associative array containing:
30    *   - items: An array of slick contents: text, image or media.
31    *   - options: An array of key:value pairs of custom JS overrides.
32    *   - optionset: The cached optionset object to avoid multiple invocations.
33    *   - settings: An array of key:value pairs of HTML/layout related settings.
34    *   - thumb: An associative array of slick thumbnail following the same
35    *     structure as the main display: $build['thumb']['items'], etc.
36    *
37    * @return array
38    *   The renderable array of both main and thumbnail slick instances.
39    */
40   public function build(array $build = []);
41
42 }