You are here

public function ContentUploadConfirmForm::getCancelUrl in GatherContent 8.3

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

Return value

\Drupal\Core\Url A URL object.

Overrides ContentConfirmForm::getCancelUrl

File

src/Form/ContentUploadConfirmForm.php, line 32

Class

ContentUploadConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent\Form

Code

public function getCancelUrl() {
  return new Url('gathercontent.upload_select_form');
}