public UserCancelForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
string The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- core/modules/user/src/Form/UserCancelForm.php, line 64
Class
- UserCancelForm
- Provides a confirmation form for cancelling user account.
Namespace
Drupal\user\Form
Code
public function getConfirmText() { return $this->t('Cancel account'); }
Please login to continue.