Skip to content
Snippets Groups Projects

Issue #3275323: AU Extensions: Create form workflow for updating projects

Files
30
@@ -4,7 +4,8 @@ namespace Drupal\automatic_updates_extensions\Form;
use Drupal\automatic_updates_extensions\BatchProcessor;
use Drupal\automatic_updates\BatchProcessor as AutoUpdatesBatchProcessor;
use Drupal\automatic_updates_extensions\ExtensionUpdater;use Drupal\Core\Batch\BatchBuilder;
use Drupal\automatic_updates_extensions\ExtensionUpdater;
use Drupal\Core\Batch\BatchBuilder;
use Drupal\Core\Extension\ModuleExtensionList;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
@@ -61,8 +62,6 @@ class UpdateReady extends FormBase {
* The state service.
* @param \Drupal\Core\Extension\ModuleExtensionList $module_list
* The module list service.
* @param \Drupal\automatic_updates\Validator\StagedDatabaseUpdateValidator $staged_database_update_validator
* The staged database update validator service.
*/
public function __construct(ExtensionUpdater $updater, MessengerInterface $messenger, StateInterface $state, ModuleExtensionList $module_list) {
$this->updater = $updater;
@@ -104,7 +103,6 @@ class UpdateReady extends FormBase {
$messages = [];
// @todo Add logic to warn about possible new database updates. Determine if
// \Drupal\automatic_updates\Validator\StagedDatabaseUpdateValidator
// should be duplicated or changed so that it can work with other stages.
Loading