public function FieldEncryptUpdateForm::submitForm in Field Encryption 8.2
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/ FieldEncryptUpdateForm.php, line 86
Class
- FieldEncryptUpdateForm
- Form builder for the field_encrypt field update page.
Namespace
Drupal\field_encrypt\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$batch = [
'title' => t('Updating field encryption'),
'operations' => array(
array(
array(
get_class($this),
'processBatch',
),
array(),
),
),
'finished' => array(
get_class($this),
'finishBatch',
),
];
batch_set($batch);
}