You are here

public function FeedItemsDeleteForm::getConfirmText in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/aggregator/src/Form/FeedItemsDeleteForm.php \Drupal\aggregator\Form\FeedItemsDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

core/modules/aggregator/src/Form/FeedItemsDeleteForm.php, line 33

Class

FeedItemsDeleteForm
Provides a deletion confirmation form for items that belong to a feed.

Namespace

Drupal\aggregator\Form

Code

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