public function EntityLegalDocumentDeleteForm::getConfirmText in Entity Legal 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/ EntityLegalDocumentDeleteForm.php, line 37 - Contains \Drupal\entity_legal\Form\EntityLegalDocumentDeleteForm.
Class
- EntityLegalDocumentDeleteForm
- Form builder for legal document deletion.
Namespace
Drupal\entity_legal\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}