public function ServerDeleteForm::getConfirmText in Lightweight Directory Access Protocol (LDAP) 8.4
Same name and namespace in other branches
- 8.3 ldap_servers/src/Form/ServerDeleteForm.php \Drupal\ldap_servers\Form\ServerDeleteForm::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
- ldap_servers/
src/ Form/ ServerDeleteForm.php, line 34
Class
- ServerDeleteForm
- Builds the form to delete Server entities.
Namespace
Drupal\ldap_servers\FormCode
public function getConfirmText() : TranslatableMarkup {
return $this
->t('Delete');
}