You are here

public function RenameForm::getCancelText in Filebrowser 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/RenameForm.php \Drupal\filebrowser\Form\RenameForm::getCancelText()

Returns a caption for the link which cancels the action.

Return value

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

Overrides ConfirmFormBase::getCancelText

File

src/Form/RenameForm.php, line 126

Class

RenameForm

Namespace

Drupal\filebrowser\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}