public function AddToHeadDeleteProfileForm::getCancelUrl in Add To Head 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/ AddToHeadDeleteProfileForm.php, line 33
Class
Namespace
Drupal\add_to_head\FormCode
public function getCancelUrl() {
return Url::fromRoute('add_to_head.admin');
}