You are here

public function MassPasswordResetConfirm::getCancelUrl in Mass Password Change 8

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/MassPasswordResetConfirm.php, line 71

Class

MassPasswordResetConfirm
Provides a confirmation form for mass password reset action.

Namespace

Drupal\mass_password_change\Form

Code

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