public function OptionDeleteForm::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/ OptionDeleteForm.php, line 36
Class
- OptionDeleteForm
- Defines the attribute option delete form.
Namespace
Drupal\uc_attribute\FormCode
public function getCancelUrl() {
return Url::fromRoute('uc_attribute.options', [
'aid' => $this->option->aid,
]);
}