Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / dependency-injection / Compiler / PriorityTaggedServiceTrait.php
index 04e6cc67a55d944a5b18cef94e0a66f523ad144f..97b083fa13c3928dabe9fb8bfd86baa441e2a736 100644 (file)
@@ -40,7 +40,7 @@ trait PriorityTaggedServiceTrait
     {
         $services = array();
 
-        foreach ($container->findTaggedServiceIds($tagName) as $serviceId => $attributes) {
+        foreach ($container->findTaggedServiceIds($tagName, true) as $serviceId => $attributes) {
             $priority = isset($attributes[0]['priority']) ? $attributes[0]['priority'] : 0;
             $services[$priority][] = new Reference($serviceId);
         }