use Drupal\\Core\\Routing\\TrustedRedirectResponse;\n\nfunction _mymodule_user_redirect(\n &$form,\n \\Drupal\\Core\\Form\\FormStateInterface $form_state) \n{\n $response = new TrustedRedirectResponse(\n Url::fromUri('internal:\/YOUR-INTERNAL-URL')->toString()\n );\n $response->send();\n}<\/code><\/pre>\n\n\n\n\u042d\u0442\u043e \u043f\u0440\u0435\u0440\u0432\u0435\u0442 \u0448\u0442\u0430\u0442\u043d\u0443\u044e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0444\u043e\u0440\u043c\u044b, \u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u0435\u0451 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0434\u0440\u0443\u0433\u043e\u043c\u0443 URL.<\/p>\n","protected":false},"excerpt":{"rendered":"
\u0414\u043b\u044f \u0441\u0435\u043c\u0435\u0440\u043a\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[134],"acf":[],"yoast_head":"\n
\u0420\u0435\u0434\u0438\u0440\u0435\u043a\u0442 \u043f\u043e\u0441\u043b\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u043e\u0440\u043c\u044b \u0432 Drupal 8\/9<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n