{% import '@lib/di.twig' as di %}
services:
  {{ machine_name }}.uninstall_validator:
    class: Drupal\{{ machine_name }}\{{ class }}
{% if services %}
    arguments: [{{ di.arguments(services) }}]
{% endif %}
    tags:
      - { name: module_install.uninstall_validator }
