You are here

workbench_moderation.services.yml in Workbench Moderation 8.2

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

File

workbench_moderation.services.yml
View source
  1. services:
  2. paramconverter.latest_revision:
  3. class: Drupal\workbench_moderation\ParamConverter\EntityRevisionConverter
  4. arguments: ['@entity.manager', '@workbench_moderation.moderation_information']
  5. tags:
  6. - { name: paramconverter, priority: 5 }
  7. arguments: ['@entity.manager']
  8. workbench_moderation.state_transition_validation:
  9. class: \Drupal\workbench_moderation\StateTransitionValidation
  10. arguments: ['@entity_type.manager', '@entity.query']
  11. workbench_moderation.moderation_information:
  12. class: Drupal\workbench_moderation\ModerationInformation
  13. arguments: ['@entity_type.manager', '@current_user']
  14. workbench_moderation.entity_type:
  15. class: Drupal\workbench_moderation\EntityTypeInfo
  16. arguments: ['@string_translation', '@workbench_moderation.moderation_information', '@entity_type.manager']
  17. workbench_moderation.entity_operations:
  18. class: Drupal\workbench_moderation\EntityOperations
  19. arguments: ['@workbench_moderation.moderation_information', '@entity_type.manager', '@form_builder', '@event_dispatcher', '@workbench_moderation.revision_tracker']
  20. workbench_moderation.inline_editing_disabler:
  21. class: \Drupal\workbench_moderation\InlineEditingDisabler
  22. arguments: ['@workbench_moderation.moderation_information']
  23. workbench_moderation.workbench_preprocess:
  24. class: Drupal\workbench_moderation\WorkbenchPreprocess
  25. arguments: ['@current_route_match']
  26. access_check.latest_revision:
  27. class: Drupal\workbench_moderation\Access\LatestRevisionCheck
  28. arguments: ['@workbench_moderation.moderation_information']
  29. tags:
  30. - { name: access_check, applies_to: _workbench_moderation_latest_version }
  31. workbench_moderation.revision_tracker:
  32. class: Drupal\workbench_moderation\RevisionTracker
  33. arguments: ['@database']
  34. tags:
  35. - { name: backend_overridable }
  36. workbench_moderation.views_data:
  37. class: \Drupal\workbench_moderation\ViewsData
  38. arguments: ['@entity_type.manager', '@workbench_moderation.moderation_information']