You are here

public function DeleteForm::getConfirmText in Filebrowser 8.2

Same name and namespace in other branches
  1. 3.x src/Form/DeleteForm.php \Drupal\filebrowser\Form\DeleteForm::getConfirmText()

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/DeleteForm.php, line 163

Class

DeleteForm

Namespace

Drupal\filebrowser\Form

Code

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