You are here

public function DownloadCountClearForm::getConfirmText in Download Count 8

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/DownloadCountClearForm.php, line 32

Class

DownloadCountClearForm
Remove form for book module.

Namespace

Drupal\download_count\Form

Code

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