You are here

service content_uninstall_validator in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \content_uninstall_validator
  2. 9 core/core.services.yml \content_uninstall_validator

Class

Drupal\Core\Entity\ContentUninstallValidator

Tags

  • module_install.uninstall_validator
1 string reference to content_uninstall_validator
KeyValueContentEntityStorageTest::testUninstall in core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
Tests uninstallation of a module that does not use the SQL entity storage.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Entity\ContentUninstallValidator
  2. tags:
  3. - { name: module_install.uninstall_validator }
  4. arguments:
  5. - '@entity_type.manager'
  6. - '@string_translation'
  7. lazy: true