You are here

mobile_detect.services.yml in Mobile Detect 8.2

File

mobile_detect.services.yml
View source
  1. services:
  2. mobile_detect:
  3. class: Detection\MobileDetect
  4. mobile_detect.twig.extension:
  5. class: Drupal\mobile_detect\Twig\MobileDetectTwig
  6. arguments: ["@mobile_detect"]
  7. tags:
  8. - { name: twig.extension }
  9. cache_context.mobile_detect_is_mobile:
  10. class: Drupal\mobile_detect\Cache\Context\IsMobileCacheContext
  11. arguments: ["@mobile_detect"]
  12. tags:
  13. - { name: cache.context }