function ContentUninstallValidator::validate

Same name in this branch
  1. 8.9.x core/lib/Drupal/Core/Entity/ContentUninstallValidator.php \Drupal\Core\Entity\ContentUninstallValidator::validate()
Same name in other branches
  1. 9 core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php \Drupal\Core\ProxyClass\Entity\ContentUninstallValidator::validate()
  2. 9 core/lib/Drupal/Core/Entity/ContentUninstallValidator.php \Drupal\Core\Entity\ContentUninstallValidator::validate()
  3. 10 core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php \Drupal\Core\ProxyClass\Entity\ContentUninstallValidator::validate()
  4. 10 core/lib/Drupal/Core/Entity/ContentUninstallValidator.php \Drupal\Core\Entity\ContentUninstallValidator::validate()
  5. 11.x core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php \Drupal\Core\ProxyClass\Entity\ContentUninstallValidator::validate()
  6. 11.x core/lib/Drupal/Core/Entity/ContentUninstallValidator.php \Drupal\Core\Entity\ContentUninstallValidator::validate()

Overrides ModuleUninstallValidatorInterface::validate

File

core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php, line 73

Class

ContentUninstallValidator
Provides a proxy class for \Drupal\Core\Entity\ContentUninstallValidator.

Namespace

Drupal\Core\ProxyClass\Entity

Code

public function validate($module) {
    return $this->lazyLoadItself()
        ->validate($module);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.