You are here

public function GridStackVariantDeleteForm::getCancelUrl in GridStack 8.2

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides GridStackDeleteForm::getCancelUrl

File

modules/gridstack_ui/src/Form/GridStackVariantDeleteForm.php, line 22

Class

GridStackVariantDeleteForm
Builds the form to delete a GridStack optionset.

Namespace

Drupal\gridstack_ui\Form

Code

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