You are here

public function ServerEnableDisableForm::getCancelUrl in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 ldap_servers/src/Form/ServerEnableDisableForm.php \Drupal\ldap_servers\Form\ServerEnableDisableForm::getCancelUrl()

If the delete command is canceled, return to the overview page.

Overrides ConfirmFormInterface::getCancelUrl

File

ldap_servers/src/Form/ServerEnableDisableForm.php, line 40

Class

ServerEnableDisableForm
Form for disabling a server.

Namespace

Drupal\ldap_servers\Form

Code

public function getCancelUrl() {
  return new Url('entity.ldap_server.collection');
}