function RebuildPermissionsForm::getCancelUrl

Same name and namespace in other branches
  1. 9 core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getCancelUrl()
  2. 8.9.x core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getCancelUrl()
  3. 10 core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getCancelUrl()

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\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.