You are here

public function MassPasswordResetConfirmForm::getCancelUrl in Mass Password Reset 8

Same name and namespace in other branches
  1. 2.x src/Form/MassPasswordResetConfirmForm.php \Drupal\mass_pwreset\Form\MassPasswordResetConfirmForm::getCancelUrl()

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/MassPasswordResetConfirmForm.php, line 66

Class

MassPasswordResetConfirmForm
Mass Password Reset Form.

Namespace

Drupal\mass_pwreset\Form

Code

public function getCancelUrl() {
  return new Url('mass_pwreset.admin');
}