public function NumberPatternResetSequenceForm::getCancelUrl in Commerce Core 8.2
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- modules/
number_pattern/ src/ Form/ NumberPatternResetSequenceForm.php, line 32
Class
- NumberPatternResetSequenceForm
- Provides a confirmation form for resetting a number pattern's sequence.
Namespace
Drupal\commerce_number_pattern\FormCode
public function getCancelUrl() {
return $this->entity
->toUrl('collection');
}