You are here

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

Same name and namespace in other branches
  1. 8.3 src/Theme/AmpNegotiator.php \Drupal\amp\Theme\AmpNegotiator::ampContext
  2. 8.2 src/Theme/AmpNegotiator.php \Drupal\amp\Theme\AmpNegotiator::ampContext

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

Type: \Drupal\amp\Routing\AmpContext

File

src/Theme/AmpNegotiator.php, line 32
Contains \Drupal\amp\Theme\AmpNegotiator.

Class

AmpNegotiator
Sets the active theme on amp pages.

Namespace

Drupal\amp\Theme

Code

protected $ampContext;