You are here

flag_lists.services.yml in Flag Lists 8

Same filename and directory in other branches
  1. 4.0.x flag_lists.services.yml

File

flag_lists.services.yml
View source
  1. services:
  2. flag_lists.event_subscriber_flag:
  3. class: Drupal\flag_lists\EventSubscriber\FlagForListSubscriber
  4. arguments: []
  5. tags:
  6. - { name: event_subscriber }
  7. flaglists:
  8. class: Drupal\flag_lists\FlagListsService
  9. arguments: ['@entity.query', '@current_user', '@entity_type.manager']
  10. flag_lists.link_builder:
  11. class: Drupal\flag_lists\FlagListsFlagLinkBuilder
  12. public: true
  13. decorates: flag.link_builder
  14. decoration_priority: 5
  15. arguments: ['@flag_lists.link_builder.inner']
  16. access_check.flag_lists.action:
  17. class: Drupal\flag_lists\Access\FlagListsAccessCheck
  18. public: true
  19. decorates: access_check.flag.action
  20. decoration_priority: 5
  21. arguments: ['@flag']
  22. tags:
  23. - { name: access_check, applies_to: _flag_access }
  24. access_check.unflag_lists.action:
  25. class: Drupal\flag_lists\Access\UnFlagListsAccessCheck
  26. public: true
  27. decorates: access_check.unflag.action
  28. decoration_priority: 5
  29. arguments: ['@flag']
  30. tags:
  31. - { name: access_check, applies_to: _unflag_access }