You are here

protected property AmpCssCollectionRenderer::$linkDomainWhitelist in Accelerated Mobile Pages (AMP) 8.3

Whitelist of allowed external style links.

Type: array

See also

https://www.ampproject.org/docs/design/responsive/custom_fonts

File

src/Asset/AmpCssCollectionRenderer.php, line 27

Class

AmpCssCollectionRenderer
Renders CSS assets.

Namespace

Drupal\amp\Asset

Code

protected $linkDomainWhitelist = [
  'cloud.typography.com',
  'fast.fonts.net',
  'fonts.googleapis.com',
  'use.typekit.net',
  'maxcdn.bootstrapcdn.com',
];