You are here

public function FieldEncryptDecryptForm::getConfirmText in Field Encryption 8.2

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/FieldEncryptDecryptForm.php, line 80

Class

FieldEncryptDecryptForm
Confirmation form for removing encryption on field.

Namespace

Drupal\field_encrypt\Form

Code

public function getConfirmText() {
  return t('Remove field encryption');
}