You are here

public function AttributeDeleteForm::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_attribute/src/Form/AttributeDeleteForm.php, line 46

Class

AttributeDeleteForm
Defines the attribute delete form.

Namespace

Drupal\uc_attribute\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('uc_attribute.overview');
}