public function DownloadCountClearForm::getCancelText in Download Count 8
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/ DownloadCountClearForm.php, line 39
Class
- DownloadCountClearForm
- Remove form for book module.
Namespace
Drupal\download_count\FormCode
public function getCancelText() {
return $this
->t('Cancel');
}