public function ImageEffectsUninstallValidator::validate in Image Effects 8.2
Same name in this branch
- 8.2 src/ImageEffectsUninstallValidator.php \Drupal\image_effects\ImageEffectsUninstallValidator::validate()
- 8.2 src/ProxyClass/ImageEffectsUninstallValidator.php \Drupal\image_effects\ProxyClass\ImageEffectsUninstallValidator::validate()
Same name and namespace in other branches
- 8.3 src/ProxyClass/ImageEffectsUninstallValidator.php \Drupal\image_effects\ProxyClass\ImageEffectsUninstallValidator::validate()
- 8 src/ProxyClass/ImageEffectsUninstallValidator.php \Drupal\image_effects\ProxyClass\ImageEffectsUninstallValidator::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
- src/
ProxyClass/ ImageEffectsUninstallValidator.php, line 73
Class
- ImageEffectsUninstallValidator
- Provides a proxy class for \Drupal\image_effects\ImageEffectsUninstallValidator.
Namespace
Drupal\image_effects\ProxyClassCode
public function validate($module) {
return $this
->lazyLoadItself()
->validate($module);
}