ConfirmDeleteMultiple::getConfirmText

public 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 74

Class

ConfirmDeleteMultiple
Provides the comment multiple delete confirmation form.

Namespace

Drupal\comment\Form

Code

public function getConfirmText() {
  return $this->t('Delete comments');
}
doc_Drupal
2016-10-29 08:55:29
Comments
Leave a Comment

Please login to continue.