You are here

public function EncryptionProfileForm::confirmEdit in Encrypt 8.3

Submit handler for the edit confirmation button.

Parameters

array $form: The form.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

File

src/Form/EncryptionProfileForm.php, line 353

Class

EncryptionProfileForm
Provides the form to add / edit an EncryptionProfile entity.

Namespace

Drupal\encrypt\Form

Code

public function confirmEdit(array &$form, FormStateInterface $form_state) {
  $this->editConfirmed = TRUE;
  $form_state
    ->setRebuild();
}