Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / dependency-injection / Tests / Fixtures / yaml / integration / defaults_child_tags / main.yml
diff --git a/vendor/symfony/dependency-injection/Tests/Fixtures/yaml/integration/defaults_child_tags/main.yml b/vendor/symfony/dependency-injection/Tests/Fixtures/yaml/integration/defaults_child_tags/main.yml
new file mode 100644 (file)
index 0000000..b5dc66f
--- /dev/null
@@ -0,0 +1,18 @@
+services:
+    _defaults:
+        autoconfigure: true
+        autowire: true
+        tags: [from_defaults]
+
+    parent_service:
+        class: stdClass
+        # will not override child
+        autoconfigure: true
+        # parent definitions are not applied to children
+        tags: [from_parent]
+
+    child_service:
+        parent: parent_service
+        # _defaults is ok because these are explicitly set
+        autoconfigure: false
+        autowire: true