public function WebformNodeUninstallValidator::validate in Webform 8.5
Same name in this branch
- 8.5 modules/webform_node/src/WebformNodeUninstallValidator.php \Drupal\webform_node\WebformNodeUninstallValidator::validate()
- 8.5 modules/webform_node/src/ProxyClass/WebformNodeUninstallValidator.php \Drupal\webform_node\ProxyClass\WebformNodeUninstallValidator::validate()
Same name and namespace in other branches
- 6.x modules/webform_node/src/ProxyClass/WebformNodeUninstallValidator.php \Drupal\webform_node\ProxyClass\WebformNodeUninstallValidator::validate()
Determines the reasons a module can not be uninstalled.
Parameters
string $module: A module name.
Return value
string[] An array of reasons the module can not be uninstalled, empty if it can. Each reason should not end with any punctuation since multiple reasons can be displayed together.
Overrides ModuleUninstallValidatorInterface::validate
See also
template_preprocess_system_modules_uninstall()
File
- modules/
webform_node/ src/ ProxyClass/ WebformNodeUninstallValidator.php, line 73
Class
- WebformNodeUninstallValidator
- Provides a proxy class for \Drupal\webform_node\WebformNodeUninstallValidator.
Namespace
Drupal\webform_node\ProxyClassCode
public function validate($module) {
return $this
->lazyLoadItself()
->validate($module);
}