function UserMultipleCancelConfirm::getCancelUrl

Same name in other branches
  1. 9 core/modules/user/src/Form/UserMultipleCancelConfirm.php \Drupal\user\Form\UserMultipleCancelConfirm::getCancelUrl()
  2. 8.9.x core/modules/user/src/Form/UserMultipleCancelConfirm.php \Drupal\user\Form\UserMultipleCancelConfirm::getCancelUrl()
  3. 10 core/modules/user/src/Form/UserMultipleCancelConfirm.php \Drupal\user\Form\UserMultipleCancelConfirm::getCancelUrl()

Overrides ConfirmFormInterface::getCancelUrl

File

core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 86

Class

UserMultipleCancelConfirm
Provides a confirmation form for cancelling multiple user accounts.

Namespace

Drupal\user\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.