You are here

public function ConfirmDeleteMultiple::getConfirmText in Zircon Profile 8

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

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/comment/src/Form/ConfirmDeleteMultiple.php, line 79
Contains \Drupal\comment\Form\ConfirmDeleteMultiple.

Class

ConfirmDeleteMultiple
Provides the comment multiple delete confirmation form.

Namespace

Drupal\comment\Form

Code

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