You are here

public function DeleteFeedForm::getConfirmText in Feed Import 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/DeleteFeedForm.php, line 50
Contains \Drupal\feed_import\Form\DeleteFeedForm

Class

DeleteFeedForm
Builds the form to delete a feed.

Namespace

Drupal\feed_import\Form

Code

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