You are here

public function RebuildPermissionsForm::getCancelUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to RebuildPermissionsForm::getCancelUrl()
RebuildPermissionsForm::submitForm in core/modules/node/src/Form/RebuildPermissionsForm.php
Form submission handler.

File

core/modules/node/src/Form/RebuildPermissionsForm.php, line 33
Contains \Drupal\node\Form\RebuildPermissionsForm.

Class

RebuildPermissionsForm

Namespace

Drupal\node\Form

Code

public function getCancelUrl() {
  return new Url('system.status');
}