You are here

public function FontDisplay::setFallback in @font-your-face 8.3

Sets the Font fallback fonts.

Parameters

string $fallback: The fallback fonts.

Return value

\Drupal\fontyourface\FontDisplayInterface The called Font Style entity.

Overrides FontDisplayInterface::setFallback

File

src/Entity/FontDisplay.php, line 146

Class

FontDisplay
Defines the Font display entity.

Namespace

Drupal\fontyourface\Entity

Code

public function setFallback($fallback) {
  $this
    ->set('fallback', $fallback);
  return $this;
}