Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / content_moderation / content_moderation.services.yml
index 5035b673c5720fa63cf023a92c22dd303cc02042..225d44d12082c629ac1f0ace6cdd993cb885e3dc 100644 (file)
@@ -1,7 +1,7 @@
 services:
   paramconverter.latest_revision:
     class: Drupal\content_moderation\ParamConverter\EntityRevisionConverter
-    arguments: ['@entity.manager', '@content_moderation.moderation_information']
+    parent: paramconverter.entity
     tags:
       - { name: paramconverter, priority: 5 }
   content_moderation.state_transition_validation:
@@ -20,3 +20,8 @@ services:
     arguments: ['@config.manager', '@entity_type.manager']
     tags:
       - { name: event_subscriber }
+  content_moderation.route_subscriber:
+    class: Drupal\content_moderation\Routing\ContentModerationRouteSubscriber
+    arguments: ['@entity_type.manager']
+    tags:
+      - { name: event_subscriber }