You are here

public function ServerDeleteForm::getConfirmText in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 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 31

Class

ServerDeleteForm
Builds the form to delete Server entities.

Namespace

Drupal\ldap_servers\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}