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