public function ConfigEntityRevisionsRevertFormBase::submitForm in Config Entity Revisions 8.2
Same name and namespace in other branches
- 8 src/ConfigEntityRevisionsRevertFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsRevertFormBase::submitForm()
- 1.x src/ConfigEntityRevisionsRevertFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsRevertFormBase::submitForm()
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/
ConfigEntityRevisionsRevertFormBase.php, line 306
Class
- ConfigEntityRevisionsRevertFormBase
- Class ConfigEntityRevisionsRevertFormBase.
Namespace
Drupal\config_entity_revisionsCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this
->applyRevisionChange();
$this
->updateConfigEntity();
$this
->logUpdate();
$this
->displayUpdate();
$this
->setRedirect($form_state);
}