Version 1
[yaffs-website] / web / modules / contrib / fontyourface / modules / local_fonts / src / Entity / LocalFontConfigEntityInterface.php
1 <?php
2
3 namespace Drupal\local_fonts\Entity;
4
5 use Drupal\Core\Config\Entity\ConfigEntityInterface;
6
7 /**
8  * Provides an interface for defining Custom Font entities.
9  */
10 interface LocalFontConfigEntityInterface extends ConfigEntityInterface {
11
12   /**
13    * Gets the Font Woff File Data.
14    *
15    * @return string
16    *   Woff Font File Data.
17    */
18   public function getFontWoffData();
19
20   /**
21    * Sets the Font Woff File Data.
22    *
23    * @param string $data
24    *   Woff Font File Data.
25    *
26    * @return \Drupal\local_fonts\Entity\LocalFontConfigEntityInterface
27    *   The called Local Font Entity Interface.
28    */
29   public function setFontWoffData($data);
30
31 }