public function FontDisplay::setFontUrl in @font-your-face 8.3
Sets the Font URL.
Parameters
string $font_url: The Font URL.
Return value
\Drupal\fontyourface\FontDisplayInterface The called Font Style entity.
Overrides FontDisplayInterface::setFontUrl
File
- src/
Entity/ FontDisplay.php, line 131
Class
- FontDisplay
- Defines the Font display entity.
Namespace
Drupal\fontyourface\EntityCode
public function setFontUrl($font_url) {
$this
->set('font_url', $font_url);
return $this;
}