public function ConditionDeleteForm::getCancelUrl in Block Visibility Groups 8
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ ConditionDeleteForm.php, line 48
Class
- ConditionDeleteForm
- Provides a form for deleting an condition.
Namespace
Drupal\block_visibility_groups\FormCode
public function getCancelUrl() {
return $this->block_visibility_group
->toUrl('edit-form');
}