You are here

public function Font::isDeactivated in @font-your-face 8.3

Checks if the font is disabled.

Return value

bool TRUE is font is disabled. FALSE otherwise.

Overrides FontInterface::isDeactivated

1 call to Font::isDeactivated()
Font::deactivate in src/Entity/Font.php
Disable a font.

File

src/Entity/Font.php, line 128

Class

Font
Defines the Font entity.

Namespace

Drupal\fontyourface\Entity

Code

public function isDeactivated() {
  return !$this
    ->isActivated();
}