public function FlagResetForm::getCancelUrl in Flag 8.4
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to FlagResetForm::getCancelUrl()
- FlagResetForm::submitForm in src/
Form/ FlagResetForm.php - Form submission handler.
File
- src/
Form/ FlagResetForm.php, line 93
Class
- FlagResetForm
- Provides the flag reset form.
Namespace
Drupal\flag\FormCode
public function getCancelUrl() {
return $this->flag
->toUrl('collection');
}