You are here

public function ContentTypeRevisionsDeleteForm::getConfirmText in Node Revision Delete 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/ContentTypeRevisionsDeleteForm.php, line 75

Class

ContentTypeRevisionsDeleteForm
Provides a content type revision deletion confirmation form.

Namespace

Drupal\node_revision_delete\Form

Code

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