public function RngContactDeleteForm::getCancelUrl in RNG Contact 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/
Form/ RngContactDeleteForm.php, line 23
Class
- RngContactDeleteForm
- Form for deleting a contact.
Namespace
Drupal\rng_contact\FormCode
public function getCancelUrl() {
return $this->entity
->urlInfo();
}