public function ConfirmBanDeleteMultiple::getConfirmText in Comment IP 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides DeleteMultipleForm::getConfirmText
File
- src/
Form/ ConfirmBanDeleteMultiple.php, line 32
Class
- ConfirmBanDeleteMultiple
- Provides the comment_ip multiple ban delete confirmation form.
Namespace
Drupal\comment_ip\FormCode
public function getConfirmText() {
return $this
->t('Delete comments and block IPs');
}