public function EncryptionProfileForm::ajaxUpdateSettings in Encrypt 8.3
AJAX callback to update the dynamic settings on the form.
Parameters
array $form: The form definition array for the encryption profile form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The element to update in the form.
File
- src/
Form/ EncryptionProfileForm.php, line 257
Class
- EncryptionProfileForm
- Provides the form to add / edit an EncryptionProfile entity.
Namespace
Drupal\encrypt\FormCode
public function ajaxUpdateSettings(array &$form, FormStateInterface $form_state) {
return $form['encryption'];
}