You are here

restrict_ip.services.yml in Restrict IP 8

Same filename and directory in other branches
  1. 8.2 restrict_ip.services.yml
  2. 3.x restrict_ip.services.yml

File

restrict_ip.services.yml
View source
  1. parameters:
  2. restrict_ip.mapper.class: Drupal\restrict_ip\Mapper\RestrictIpMapper
  3. restrict_ip.service.class: Drupal\restrict_ip\Service\RestrictIpService
  4. restrict_ip.event_subscriber.class: Drupal\restrict_ip\EventSubscriber\RestrictIpEventSubscriber
  5. services:
  6. restrict_ip.mapper:
  7. class: '%restrict_ip.mapper.class%'
  8. arguments:
  9. - '@database'
  10. restrict_ip.service:
  11. class: '%restrict_ip.service.class%'
  12. arguments:
  13. - '@current_user'
  14. - '@path.current'
  15. - '@config.factory'
  16. - '@request_stack'
  17. - '@restrict_ip.mapper'
  18. - '@path.matcher'
  19. restrict_ip.event_subscriber:
  20. class: '%restrict_ip.event_subscriber.class%'
  21. arguments:
  22. - '@restrict_ip.service'
  23. - '@config.factory'
  24. - '@logger.factory'
  25. - '@module_handler'
  26. - '@url_generator'
  27. tags:
  28. - {name: event_subscriber}

Services

Namesort descending Description
restrict_ip.event_subscriber %restrict_ip.event_subscriber.class%
restrict_ip.mapper %restrict_ip.mapper.class%
restrict_ip.service %restrict_ip.service.class%