public function AMPService::createAMPConverter in Accelerated Mobile Pages (AMP) 8.3
Same name and namespace in other branches
- 8 src/Service/AMPService.php \Drupal\amp\Service\AMPService::createAMPConverter()
- 8.2 src/Service/AMPService.php \Drupal\amp\Service\AMPService::createAMPConverter()
This is your starting point. Its cheap to create AMP objects now. Just create a new one every time you're asked for it.
Return value
AMP
File
- src/
Service/ AMPService.php, line 105
Class
- AMPService
- Class AMPService.
Namespace
Drupal\amp\ServiceCode
public function createAMPConverter() {
return new DrupalAMP();
}