You are here

service amp.utilities in Accelerated Mobile Pages (AMP) 8

Same name and namespace in other branches
  1. 8.3 amp.services.yml \amp.utilities
  2. 8.2 amp.services.yml \amp.utilities

Class

Drupal\amp\Service\AMPService
3 string references to amp.utilities
AmpIframe::preRenderAmpIframe in src/Element/AmpIframe.php
Pre-render callback: Attaches the amp-iframe library and required markup.
AmpProcessedText::preRenderAmpText in src/Element/AmpProcessedText.php
Pre-render callback: Processes the amp markup and attaches libraries.
AMPTestLibrary::create in src/Controller/AMPTestLibrary.php
Instantiates a new instance of this class.

File

./amp.services.yml
amp.services.yml

View source
  1. class: Drupal\amp\Service\AMPService
  2. arguments: { }