service router.amp_context in Accelerated Mobile Pages (AMP) 8.2
Same name and namespace in other branches
- 8.3 amp.services.yml \router.amp_context
- 8 amp.services.yml \router.amp_context
Class
Drupal\amp\Routing\AmpContext4 string references to router.amp_context
- AmpViewModeTest::testAmpViewMode in tests/
src/ Functional/ AmpViewModeTest.php - Test the AMP view mode.
- 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
View source
- class: Drupal\amp\Routing\AmpContext
- arguments:
- - '@config.factory'
- - '@theme.manager'
- - '@amp.entity_type'
- - '@current_route_match'
- - '@router.admin_context'