You are here

public function GroupRevisionDeleteForm::getConfirmText in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Form/GroupRevisionDeleteForm.php \Drupal\group\Entity\Form\GroupRevisionDeleteForm::getConfirmText()

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/Entity/Form/GroupRevisionDeleteForm.php, line 86

Class

GroupRevisionDeleteForm
Provides a form for deleting a group revision.

Namespace

Drupal\group\Entity\Form

Code

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