Issue #3248928: Redirect or provide link to apply form for user who started update if accessing start form
All threads resolved!
Compare changes
+ 53
− 37
@@ -14,10 +14,12 @@ use Drupal\Core\Form\FormStateInterface;
@@ -14,10 +14,12 @@ use Drupal\Core\Form\FormStateInterface;
@@ -57,6 +59,13 @@ class UpdaterForm extends FormBase {
@@ -57,6 +59,13 @@ class UpdaterForm extends FormBase {
@@ -68,12 +77,15 @@ class UpdaterForm extends FormBase {
@@ -68,12 +77,15 @@ class UpdaterForm extends FormBase {
public function __construct(StateInterface $state, Updater $updater, ReadinessValidationManager $readiness_validation_manager, EventDispatcherInterface $event_dispatcher) {
@@ -91,7 +103,8 @@ class UpdaterForm extends FormBase {
@@ -91,7 +103,8 @@ class UpdaterForm extends FormBase {
@@ -101,6 +114,31 @@ class UpdaterForm extends FormBase {
@@ -101,6 +114,31 @@ class UpdaterForm extends FormBase {
$this->messenger()->addWarning($this->t('This is an experimental Automatic Updater using Composer. Use at your own risk.'));
@@ -212,43 +250,21 @@ class UpdaterForm extends FormBase {
@@ -212,43 +250,21 @@ class UpdaterForm extends FormBase {
$this->messenger()->addError($this->t('Cannot begin an update because another Composer operation is currently in progress.'));