public function BlockCategoryDeleteConfirmForm::getCancelUrl in Layout Builder Browser 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/ BlockCategoryDeleteConfirmForm.php, line 24
Class
- BlockCategoryDeleteConfirmForm
- Defines a confirm form for deleting a block category.
Namespace
Drupal\layout_builder_browser\FormCode
public function getCancelUrl() {
return new Url('entity.layout_builder_browser_blockcat.collection');
}