You are here

public function ConfirmClearReplicationQueueForm::getConfirmText in Workspace 8

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/ConfirmClearReplicationQueueForm.php, line 111

Class

ConfirmClearReplicationQueueForm
Class ConfirmClearReplicationQueueForm.

Namespace

Drupal\workspace\Form

Code

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