You are here

public function QueueEmptyForm::getConfirmText in Purge 8.3

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

1 call to QueueEmptyForm::getConfirmText()
QueueEmptyForm::buildForm in modules/purge_ui/src/Form/QueueEmptyForm.php
Form constructor.

File

modules/purge_ui/src/Form/QueueEmptyForm.php, line 84

Class

QueueEmptyForm
Empty the queue.

Namespace

Drupal\purge_ui\Form

Code

public function getConfirmText() {
  return $this
    ->t('Yes, throw everything away!');
}