public function RequiredContextDelete::getConfirmText in Chaos Tool Suite (ctools) 8.3
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
1 call to RequiredContextDelete::getConfirmText()
- RequiredContextDelete::actions in src/
Form/ RequiredContextDelete.php - Provides the action buttons for submitting this form.
File
- src/
Form/ RequiredContextDelete.php, line 150
Class
- RequiredContextDelete
- Base class for adding a required contexts step to your wizard.
Namespace
Drupal\ctools\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}