You are here

public function ProductFeatureDeleteForm::getCancelUrl in Ubercart 8.4

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

uc_product/src/Form/ProductFeatureDeleteForm.php, line 60

Class

ProductFeatureDeleteForm
Defines the attribute option delete form.

Namespace

Drupal\uc_product\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('uc_product.features', [
    'node' => $this->node
      ->id(),
  ]);
}