You are here

public function PasswordPolicyDeleteForm::getConfirmText in Password Policy 8.3

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/PasswordPolicyDeleteForm.php, line 31

Class

PasswordPolicyDeleteForm
Form to delete policies.

Namespace

Drupal\password_policy\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}