You are here

public function DecryptFieldForm::getConfirmText in Field Encryption 3.0.x

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/DecryptFieldForm.php, line 90

Class

DecryptFieldForm
Confirmation form for removing encryption on field.

Namespace

Drupal\field_encrypt\Form

Code

public function getConfirmText() {
  return $this
    ->t('Remove field encryption');
}