You are here

public function elFinderProfileDeleteForm::getConfirmText in elFinder file manager 8.2

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/elFinderProfileDeleteForm.php, line 36
Contains \Drupal\elfinder\Form\elFinderProfileDeleteForm.

Class

elFinderProfileDeleteForm
Provides a deletion confirmation form for elFinder Profile.

Namespace

Drupal\elfinder\Form

Code

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