You are here

public function ExportUserConfirm::getCancelUrl in Open Social 8

Same name and namespace in other branches
  1. 8.2 modules/social_features/social_user_export/src/Form/ExportUserConfirm.php \Drupal\social_user_export\Form\ExportUserConfirm::getCancelUrl()
  2. 8.3 modules/social_features/social_user_export/src/Form/ExportUserConfirm.php \Drupal\social_user_export\Form\ExportUserConfirm::getCancelUrl()
  3. 8.4 modules/social_features/social_user_export/src/Form/ExportUserConfirm.php \Drupal\social_user_export\Form\ExportUserConfirm::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

modules/social_features/social_user_export/src/Form/ExportUserConfirm.php, line 86

Class

ExportUserConfirm
Class ExportUserConfirm.

Namespace

Drupal\social_user_export\Form

Code

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