function AssetResolverTest::providerAttachedFontAssets
File
-
core/
tests/ Drupal/ Tests/ Core/ Asset/ AssetResolverTest.php, line 289
Class
Namespace
Drupal\Tests\Core\AssetCode
public static function providerAttachedFontAssets() : array {
return [
[
[
'piggy/css',
],
[
[
'data' => 'fonts/font.woff2',
'preload' => TRUE,
],
],
],
[
[
'llama/css',
],
[],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.