public function MakeDefaultForm::getCancelUrl in Consumers 8
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Entity/ Form/ MakeDefaultForm.php, line 29
Class
Namespace
Drupal\consumers\Entity\FormCode
public function getCancelUrl() {
return Url::fromRoute('entity.consumer.collection');
}