function BookRemoveForm::getCancelUrl

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

File

core/modules/book/src/Form/BookRemoveForm.php, line 96

Class

BookRemoveForm
Remove form for book module.

Namespace

Drupal\book\Form

Code

public function getCancelUrl() {
  return $this->node
    ->toUrl();
}

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