You are here

public function DeleteMultiple::getCancelUrl in Profile 2 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/DeleteMultiple.php, line 85
Contains \Drupal\node\Form\DeleteMultiple.

Class

DeleteMultiple
Provides a node deletion confirmation form.

Namespace

Drupal\profile\Form

Code

public function getCancelUrl() {
  return new Url('profile.overview_profiles');
}