You are here

public function FeedDeleteForm::getConfirmText in Feeds 8.3

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/FeedDeleteForm.php, line 47

Class

FeedDeleteForm
Provides a form for deleting a Feed.

Namespace

Drupal\feeds\Form

Code

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