public function BlockDeleteForm::getCancelUrl in Context 8
Same name and namespace in other branches
- 8.4 src/Reaction/Blocks/Form/BlockDeleteForm.php \Drupal\context\Reaction\Blocks\Form\BlockDeleteForm::getCancelUrl()
- 8.0 src/Reaction/Blocks/Form/BlockDeleteForm.php \Drupal\context\Reaction\Blocks\Form\BlockDeleteForm::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 BlockDeleteForm::getCancelUrl()
- BlockDeleteForm::submitForm in src/
Reaction/ Blocks/ Form/ BlockDeleteForm.php - Form submission handler.
File
- src/
Reaction/ Blocks/ Form/ BlockDeleteForm.php, line 86
Class
Namespace
Drupal\context\Reaction\Blocks\FormCode
public function getCancelUrl() {
return $this->context
->urlInfo();
}