public function DeleteWordForm::getCancelUrl in Restrict Abusive Words 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/ DeleteWordForm.php, line 39 - Contains \Drupal\restrict_abusive_words\Form\DeleteWordForm.
Class
- DeleteWordForm
- Contribute form.
Namespace
Drupal\restrict_abusive_words\FormCode
public function getCancelUrl() {
return new Url('restrict_abusive_words.add_words');
}