You are here

public function TaxRateFormBase::getCancelUrl in Ubercart 8.4

Returns a Url to redirect to if the current operation is cancelled.

Return value

\Drupal\Core\Url Destination Url for a cancelled operation.

File

uc_tax/src/Form/TaxRateFormBase.php, line 21

Class

TaxRateFormBase
Defines the tax rate add/edit form.

Namespace

Drupal\uc_tax\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('entity.uc_tax_rate.collection');
}