public function RebuildPermissionsForm::getCancelUrl in Drupal 8
Same name and namespace in other branches
- 9 core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getCancelUrl()
- 10 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
Class
- RebuildPermissionsForm
- Form for rebuilding permissions.
Namespace
Drupal\node\FormCode
public function getCancelUrl() {
return new Url('system.status');
}