public DeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
string The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- core/modules/forum/src/Form/DeleteForm.php, line 46
Class
- DeleteForm
- Builds the form to delete a forum term.
Namespace
Drupal\forum\Form
Code
public function getConfirmText() { return $this->t('Delete'); }
Please login to continue.