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