You are here

public function FeedbackMessageTypeDeleteForm::getConfirmText in Feedback 3.x

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/FeedbackMessageTypeDeleteForm.php, line 31

Class

FeedbackMessageTypeDeleteForm
Builds the form to delete Feedback message type entities.

Namespace

Drupal\feedback\Form

Code

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