public function DashboardDeleteBlockForm::getCancelUrl in Draggable dashboard 8.2
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/ DashboardDeleteBlockForm.php, line 41
Class
- DashboardDeleteBlockForm
- Class DashboardDeleteBlockForm
Namespace
Drupal\draggable_dashboard\FormCode
public function getCancelUrl() {
return Url::fromRoute('entity.dashboard_entity.edit_form', [
'dashboard_entity' => $this->dashboard
->id(),
]);
}