You are here

public function InviteTypeDeleteForm::getConfirmText in Invite 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/InviteTypeDeleteForm.php, line 59

Class

InviteTypeDeleteForm
Provides a form for deleting Invite type entities.

Namespace

Drupal\invite\Form

Code

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