public function UnblockReplicationForm::submitForm in Workspace 8
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormInterface::submitForm
File
- src/
Form/ UnblockReplicationForm.php, line 72
Class
- UnblockReplicationForm
- Class UnblockReplicationForm.
Namespace
Drupal\workspace\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->state
->set('workspace.last_replication_failed', FALSE);
$this
->messenger()
->addMessage($this
->t('Replications have been unblocked.'));
}