You are here

scheduled_transitions.services.yml in Scheduled Transitions 2.x

Same filename and directory in other branches
  1. 8 scheduled_transitions.services.yml

File

scheduled_transitions.services.yml
View source
  1. services:
  2. scheduled_transitions.utility:
  3. class: 'Drupal\scheduled_transitions\ScheduledTransitionsUtility'
  4. arguments: ['@config.factory', '@cache.default', '@entity_type.manager', '@entity_type.bundle.info', '@content_moderation.moderation_information', '@token', '@string_translation']
  5. scheduled_transitions.runner:
  6. class: 'Drupal\scheduled_transitions\ScheduledTransitionsRunner'
  7. arguments: ['@entity_type.manager', '@config.factory', '@datetime.time', '@logger.channel.scheduled_transitions', '@content_moderation.moderation_information', '@token', '@event_dispatcher', '@scheduled_transitions.utility']
  8. scheduled_transitions.jobs:
  9. class: 'Drupal\scheduled_transitions\ScheduledTransitionsJobs'
  10. arguments: ['@entity_type.manager', '@datetime.time', '@queue', '@logger.channel.scheduled_transitions']
  11. logger.channel.scheduled_transitions:
  12. parent: logger.channel_base
  13. arguments: ['scheduled_transitions']
  14. access_check.scheduled_transitions.supports_content_moderation:
  15. class: Drupal\scheduled_transitions\Access\SupportsContentModerationAccessCheck
  16. arguments: ['@content_moderation.moderation_information', '@scheduled_transitions.utility']
  17. tags:
  18. - { name: access_check, applies_to: _scheduled_transitions_supports_content_moderation }
  19. scheduled_transitions.new_revision:
  20. class: Drupal\scheduled_transitions\EventSubscriber\ScheduledTransitionsNewRevision
  21. arguments: ['@entity_type.manager', '@logger.channel.scheduled_transitions']
  22. tags:
  23. - { name: event_subscriber }