function ModulesUninstallForm::create
Same name in other branches
- 9 core/modules/system/src/Form/ModulesUninstallForm.php \Drupal\system\Form\ModulesUninstallForm::create()
- 8.9.x core/modules/system/src/Form/ModulesUninstallForm.php \Drupal\system\Form\ModulesUninstallForm::create()
- 10 core/modules/system/src/Form/ModulesUninstallForm.php \Drupal\system\Form\ModulesUninstallForm::create()
Overrides FormBase::create
File
-
core/
modules/ system/ src/ Form/ ModulesUninstallForm.php, line 62
Class
- ModulesUninstallForm
- Provides a form for uninstalling modules.
Namespace
Drupal\system\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('module_handler'), $container->get('module_installer'), $container->get('keyvalue.expirable')
->get('modules_uninstall'), $container->get('extension.list.module'), $container->get('update.update_hook_registry'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.