You are here

public function BreakpointDeleteForm::getCancelUrl in Bootstrap Layout Builder 1.x

Same name and namespace in other branches
  1. 2.x src/Form/BreakpointDeleteForm.php \Drupal\bootstrap_layout_builder\Form\BreakpointDeleteForm::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 BreakpointDeleteForm::getCancelUrl()
BreakpointDeleteForm::submitForm in src/Form/BreakpointDeleteForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…

File

src/Form/BreakpointDeleteForm.php, line 24

Class

BreakpointDeleteForm
Builds the form to delete Bootstrap Layout Builder breakpoints entities.

Namespace

Drupal\bootstrap_layout_builder\Form

Code

public function getCancelUrl() {
  return new Url('entity.blb_breakpoint.collection');
}