You are here

public function RenameForm::getConfirmText in Filebrowser 8.2

Same name and namespace in other branches
  1. 3.x src/Form/RenameForm.php \Drupal\filebrowser\Form\RenameForm::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/RenameForm.php, line 122

Class

RenameForm

Namespace

Drupal\filebrowser\Form

Code

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