public function RemoteDeleteForm::getConfirmText in Entity Share 8
Same name and namespace in other branches
- 8.3 modules/entity_share_client/src/Form/RemoteDeleteForm.php \Drupal\entity_share_client\Form\RemoteDeleteForm::getConfirmText()
- 8.2 modules/entity_share_client/src/Form/RemoteDeleteForm.php \Drupal\entity_share_client\Form\RemoteDeleteForm::getConfirmText()
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/
entity_share_client/ src/ Form/ RemoteDeleteForm.php, line 31
Class
- RemoteDeleteForm
- Builds the form to delete Remote entities.
Namespace
Drupal\entity_share_client\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}