You are here

public function MessageDigestIntervalDeleteForm::getConfirmText in Message Digest 8

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/MessageDigestIntervalDeleteForm.php, line 24

Class

MessageDigestIntervalDeleteForm
Digest interval delete form.

Namespace

Drupal\message_digest\Form

Code

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