You are here

public function BlockDeleteConfirmForm::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/BlockDeleteConfirmForm.php, line 24

Class

BlockDeleteConfirmForm
Defines a confirm form for deleting a block.

Namespace

Drupal\layout_builder_browser\Form

Code

public function getCancelUrl() {
  return new Url('layout_builder_browser.admin_blocklisting');
}