public function Font::setProvider in @font-your-face 8.3
Sets the Font provider ID.
Parameters
string $provider: The Font provider ID.
Return value
\Drupal\fontyourface\FontInterface The called Font entity.
Overrides FontInterface::setProvider
File
- src/
Entity/ Font.php, line 66
Class
- Font
- Defines the Font entity.
Namespace
Drupal\fontyourface\EntityCode
public function setProvider($provider) {
$this
->set('pid', $provider);
return $this;
}