Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static function validateForm(array &$form, FormStateInterface $form_state) {
- $url = DrupalCoreUrl::fromRoute('test.route');
- $form_state->setRedirectUrl($url);
- $form_state->setRedirect('rtest.route');
- }
Add Comment
Please, Sign In to add comment