public function ProfileTypeDeleteForm::getCancelUrl in Profile 2 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/ ProfileTypeDeleteForm.php, line 58 - Contains \Drupal\profile\Form\ProfileTypeDeleteForm.
Class
- ProfileTypeDeleteForm
- Provides a confirmation form for deleting a Profile type entity.
Namespace
Drupal\profile\FormCode
public function getCancelUrl() {
return new Url('profile.overview_types');
}