You are here

public function MassPasswordChangeConfirm::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/MassPasswordChangeConfirm.php, line 71

Class

MassPasswordChangeConfirm
Provides a confirmation form for mass password change action.

Namespace

Drupal\mass_password_change\Form

Code

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