You are here

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

Class

ContentUpdateConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent\Form

Code

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