public function ContentUpdateConfirmForm::getConfirmText in GatherContent 8.3
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentConfirmForm::getConfirmText
File
- src/
Form/ ContentUpdateConfirmForm.php, line 46
Class
- ContentUpdateConfirmForm
- Provides a node deletion confirmation form.
Namespace
Drupal\gathercontent\FormCode
public function getConfirmText() {
return $this
->t('Update');
}