public function LocalFontConfigEntity::setFontWoffData in @font-your-face 8.3
Sets the Font Woff File Data.
Parameters
string $data: Woff Font File Data.
Return value
\Drupal\local_fonts\Entity\LocalFontConfigEntityInterface The called Local Font Entity Interface.
Overrides LocalFontConfigEntityInterface::setFontWoffData
File
- modules/
local_fonts/ src/ Entity/ LocalFontConfigEntity.php, line 75
Class
- LocalFontConfigEntity
- Defines the Custom Font entity.
Namespace
Drupal\local_fonts\EntityCode
public function setFontWoffData($data) {
$this
->set('font_woff_data', $data);
return $this;
}