public function FlagResetForm::getConfirmText in Flag 8.4
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ FlagResetForm.php, line 86
Class
- FlagResetForm
- Provides the flag reset form.
Namespace
Drupal\flag\FormCode
public function getConfirmText() {
return $this
->t('Reset');
}