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'); }
Please login to continue.