public function AgreementDeleteForm::getCancelUrl in Agreement 3.0.x
Same name and namespace in other branches
- 8.2 src/Entity/AgreementDeleteForm.php \Drupal\agreement\Entity\AgreementDeleteForm::getCancelUrl()
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/ AgreementDeleteForm.php, line 25
Class
- AgreementDeleteForm
- Agreement entity delete form.
Namespace
Drupal\agreement\EntityCode
public function getCancelUrl() {
return Url::fromRoute('entity.agreement.collection');
}