You are here

public function ModuleConfigureForm::batchOperation in Thunder 6.2.x

Same name and namespace in other branches
  1. 8.5 src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::batchOperation()
  2. 6.0.x src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::batchOperation()
  3. 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\Form

Code

public function batchOperation($module, array &$context) {
  Environment::setTimeLimit(0);
  $this->moduleInstaller
    ->install([
    $module,
  ]);
}