public function MessageTemplateDeleteConfirm::getConfirmText in Message 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ MessageTemplateDeleteConfirm.php, line 24
Class
- MessageTemplateDeleteConfirm
- Provides a form for message template deletion.
Namespace
Drupal\message\FormCode
public function getConfirmText() {
return t('Delete');
}