public function DeleteForm::getConfirmText in Optimizely 8
Same name and namespace in other branches
- 8.0 src/DeleteForm.php \Drupal\optimizely\DeleteForm::getConfirmText()
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/
DeleteForm.php, line 42
Class
- DeleteForm
- Implements the confirmation form for deleting a project.
Namespace
Drupal\optimizelyCode
public function getConfirmText() {
// Default is 'Confirm'.
return $this
->t('Delete');
}