public function ModuleConfigureForm::batchOperation in Thunder 6.2.x
Same name and namespace in other branches
- 8.5 src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::batchOperation()
- 6.0.x src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::batchOperation()
- 6.1.x src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::batchOperation()
Batch operation callback.
Parameters
string $module: Name of the module.
array $context: The batch context.
Throws
\Drupal\Core\Extension\MissingDependencyException
File
- src/
Installer/ Form/ ModuleConfigureForm.php, line 327
Class
- ModuleConfigureForm
- Provides the site configuration form.
Namespace
Drupal\thunder\Installer\FormCode
public function batchOperation($module, array &$context) {
Environment::setTimeLimit(0);
$this->moduleInstaller
->install([
$module,
]);
}