You are here

public function ContentUploadConfirmForm::getConfirmText in GatherContent 8.3

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentConfirmForm::getConfirmText

File

src/Form/ContentUploadConfirmForm.php, line 53

Class

ContentUploadConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent\Form

Code

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