You are here

public function FeedItemsDeleteForm::getConfirmText in Zircon Profile 8

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

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ContentEntityConfirmFormBase::getConfirmText

File

core/modules/aggregator/src/Form/FeedItemsDeleteForm.php, line 36
Contains \Drupal\aggregator\Form\FeedItemsDeleteForm.

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');
}