You are here

protected property AmpHtmlResponseSubscriber::$ampContext in Accelerated Mobile Pages (AMP) 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/AmpHtmlResponseSubscriber.php \Drupal\amp\EventSubscriber\AmpHtmlResponseSubscriber::ampContext

The route amp context to determine whether a route is an amp one.

Type: \Drupal\amp\Routing\AmpContext

File

src/EventSubscriber/AmpHtmlResponseSubscriber.php, line 34
Contains \Drupal\amp\EventSubscriber\AmpHtmlResponseSubscriber.

Class

AmpHtmlResponseSubscriber
Response subscriber to handle amp HTML responses.

Namespace

Drupal\amp\EventSubscriber

Code

protected $ampContext;