public function ContextDelete::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
File
- src/
Form/ ContextDelete.php, line 57
Class
- ContextDelete
- Provides a form for deleting an contexts and relationships.
Namespace
Drupal\ctools\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}