Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / fontyourface / src / FontDisplayInterface.php
1 <?php
2
3 namespace Drupal\fontyourface;
4
5 use Drupal\Core\Config\Entity\ConfigEntityInterface;
6
7 /**
8  * Provides an interface for defining Font display entities.
9  */
10 interface FontDisplayInterface extends ConfigEntityInterface {
11
12   /**
13    * Gets the Font.
14    *
15    * @return Font
16    *   Font from config.
17    */
18   public function getFont();
19
20   /**
21    * Gets the Font URL.
22    *
23    * @return string
24    *   Font URL.
25    */
26   public function getFontUrl();
27
28   /**
29    * Sets the Font URL.
30    *
31    * @param string $font_url
32    *   The Font URL.
33    *
34    * @return \Drupal\fontyourface\FontDisplayInterface
35    *   The called Font Style entity.
36    */
37   public function setFontUrl($font_url);
38
39   /**
40    * Gets the Font fallback fonts.
41    *
42    * @return string
43    *   Font URL.
44    */
45   public function getFallback();
46
47   /**
48    * Sets the Font fallback fonts.
49    *
50    * @param string $fallback
51    *   The fallback fonts.
52    *
53    * @return \Drupal\fontyourface\FontDisplayInterface
54    *   The called Font Style entity.
55    */
56   public function setFallback($fallback);
57
58   /**
59    * Gets the Font selectors.
60    *
61    * @return string
62    *   Font selectors.
63    */
64   public function getSelectors();
65
66   /**
67    * Sets the Font selectors.
68    *
69    * @param string $selectors
70    *   The Font selectors.
71    *
72    * @return \Drupal\fontyourface\FontDisplayInterface
73    *   The called Font Style entity.
74    */
75   public function setSelectors($selectors);
76
77   /**
78    * Gets the site theme for display usage.
79    *
80    * @return string
81    *   Site theme name.
82    */
83   public function getTheme();
84
85   /**
86    * Sets the Font theme for usage.
87    *
88    * @param string $theme
89    *   Site theme name.
90    *
91    * @return \Drupal\fontyourface\FontDisplayInterface
92    *   The called Font Style entity.
93    */
94   public function setTheme($theme);
95
96   /**
97    * Returns FontDisplays by theme name.
98    *
99    * @param string $theme
100    *   Name of theme.
101    *
102    * @return array
103    *   List of font style configs for theme.
104    */
105   public static function loadByTheme($theme);
106
107 }