You are here

public function FilebrowserDeleteForm::getConfirmText in Filebrowser 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

lib/Drupal/filebrowser/Entity/Form/FilebrowserDeleteForm.php, line 29
Contains \Drupal\filebrowser\Entity\Form\FilebrowserDeleteForm

Class

FilebrowserDeleteForm
Provides Confirmation form when deleting filebrowser content

Namespace

Drupal\ffilebrowser\Entity\Form

Code

public function getConfirmText() {
  return t('Delete');
}