You are here

service router.amp_context in Accelerated Mobile Pages (AMP) 8

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

Class

Drupal\amp\Routing\AmpContext
3 string references to router.amp_context
amp_adsense_preprocess_block in modules/amp_adsense/amp_adsense.module
Implements hook_preprocess_block().
amp_entity_view_mode_alter in ./amp.module
Implements hook_entity_view_mode_alter().
amp_page_bottom in ./amp.module
Implements hook_page_bottom for page bottom.

File

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

View source
  1. class: Drupal\amp\Routing\AmpContext
  2. arguments:
  3. - '@amp.entity_type'
  4. - '@current_route_match'