X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fmodules%2Fcontrib%2Ffontyourface%2Fsrc%2FFontInterface.php;fp=web%2Fmodules%2Fcontrib%2Ffontyourface%2Fsrc%2FFontInterface.php;h=00dd037bd974b83c30fc2d17373f63f049d10dd4;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=4816b993091605c45851631d6d7512afa7fe5389;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/web/modules/contrib/fontyourface/src/FontInterface.php b/web/modules/contrib/fontyourface/src/FontInterface.php index 4816b9930..00dd037bd 100644 --- a/web/modules/contrib/fontyourface/src/FontInterface.php +++ b/web/modules/contrib/fontyourface/src/FontInterface.php @@ -94,7 +94,7 @@ interface FontInterface extends ContentEntityInterface, EntityChangedInterface { * @return bool * TRUE is font is enabled. FALSE otherwise. */ - public function isEnabled(); + public function isActivated(); /** * Checks if the font is disabled. @@ -102,7 +102,7 @@ interface FontInterface extends ContentEntityInterface, EntityChangedInterface { * @return bool * TRUE is font is disabled. FALSE otherwise. */ - public function isDisabled(); + public function isDeactivated(); /** * Enable a font. @@ -110,7 +110,7 @@ interface FontInterface extends ContentEntityInterface, EntityChangedInterface { * @return bool * TRUE is font is enabled. FALSE otherwise. */ - public function enable(); + public function activate(); /** * Disable a font. @@ -118,7 +118,7 @@ interface FontInterface extends ContentEntityInterface, EntityChangedInterface { * @return bool * TRUE is font is disabled. FALSE otherwise. */ - public function disable(); + public function deactivate(); /** * Returns list of enabled fonts. @@ -126,7 +126,7 @@ interface FontInterface extends ContentEntityInterface, EntityChangedInterface { * @return array * Array of fonts. */ - public static function loadEnabledFonts(); + public static function loadActivatedFonts(); /** * Returns font by url.