public function StatusTypeDeleteForm::getConfirmText in Heartbeat 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
- modules/
statusmessage/ src/ Form/ StatusTypeDeleteForm.php, line 30
Class
- StatusTypeDeleteForm
- Builds the form to delete Status type entities.
Namespace
Drupal\statusmessage\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}