Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / service / uninstall-validator.services.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/uninstall-validator.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/uninstall-validator.services.twig
new file mode 100644 (file)
index 0000000..a00c2f9
--- /dev/null
@@ -0,0 +1,6 @@
+services:
+  {{ machine_name }}.uninstall_validator:
+    class: Drupal\{{ machine_name }}\{{ class }}
+    tags:
+      - { name: module_install.uninstall_validator }
+    arguments: ['@plugin.manager.block', '@entity_type.manager', '@string_translation']