public function BootstrapLayoutsUninstallValidator::validate in Bootstrap Layouts 8.5
Same name in this branch
- 8.5 src/BootstrapLayoutsUninstallValidator.php \Drupal\bootstrap_layouts\BootstrapLayoutsUninstallValidator::validate()
- 8.5 src/ProxyClass/BootstrapLayoutsUninstallValidator.php \Drupal\bootstrap_layouts\ProxyClass\BootstrapLayoutsUninstallValidator::validate()
Same name and namespace in other branches
- 8.4 src/ProxyClass/BootstrapLayoutsUninstallValidator.php \Drupal\bootstrap_layouts\ProxyClass\BootstrapLayoutsUninstallValidator::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/ BootstrapLayoutsUninstallValidator.php, line 73
Class
- BootstrapLayoutsUninstallValidator
- Provides a proxy class for \Drupal\bootstrap_layouts\BootstrapLayoutsUninstallValidator.
Namespace
Drupal\bootstrap_layouts\ProxyClassCode
public function validate($module) {
return $this
->lazyLoadItself()
->validate($module);
}