You are here

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

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

Class

Drupal\amp\Routing\AmpContext
13 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.
amp_preprocess_html in ./amp.module
Implements hook_preprocess_html().
amp_rdf_preprocess_comment in modules/amp_rdf/amp_rdf.module
Implements hook_preprocess_comment() for comment templates.

... See full list

File

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

View source
  1. class: Drupal\amp\Routing\AmpContext
  2. arguments:
  3. - '@config.factory'
  4. - '@theme.manager'
  5. - '@amp.entity_type'
  6. - '@current_route_match'
  7. - '@router.admin_context'