You are here

public function DirectoryDeleteForm::getConfirmText in Private files download permission 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/DirectoryDeleteForm.php \Drupal\pfdp\Form\DirectoryDeleteForm::getConfirmText()

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/DirectoryDeleteForm.php, line 34

Class

DirectoryDeleteForm
Directory delete form for private_files_download_permission.

Namespace

Drupal\pfdp\Form

Code

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