You are here

public function UpdateEncryptionProfileForm::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/UpdateEncryptionProfileForm.php, line 104

Class

UpdateEncryptionProfileForm
Confirmation form for updating encryption on an entity.

Namespace

Drupal\field_encrypt\Form

Code

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