You are here

public function ContentUpdateConfirmForm::getCancelUrl in GatherContent 8.4

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

Return value

\Drupal\Core\Url A URL object.

Overrides ContentConfirmForm::getCancelUrl

File

gathercontent_ui/src/Form/ContentUpdateConfirmForm.php, line 34

Class

ContentUpdateConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent_ui\Form

Code

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