![]() Weekend getaways and great cruise specials. '#default_value' => $config->get('redirect_user_after_login. Whether youre new to Drupal or a longtime member of the Drupal community, youll find new insights and connections to advance your career and your business. Cruise deals for Alaska, Hawaii, Bahamas, Europe, or Caribbean Cruises. In this function, well define the layout of. 4) Click the option ‘ Install New Module’. After adding menu in module file, the next step is to define the page callback function yourmoduleadminloginpage. _form: '\Drupal\redirect_user_after_login\Form\RedirectUserAfterLoginForm'Ĭreate src/Form/RedirectUserAfterLoginForm.php fileĬonfig('redirect_user_after_ttings') This module allows you to: Rename path like ‘/admin/’ to ‘/something/’ Rename path like ‘/user/.’ to ‘/something else/.’ We can use the following steps to install the module ‘ renameadmin-paths’. Path: '/admin/config/system/login_redirect' The International Criminal Court (ICC) investigates and, where warranted, tries individuals charged with the gravest crimes of concern to the international. Route_name: redirect_user_after_ttingsĬreate redirect_user_after_ file ![]() Then enable this module: Create redirect_user_after_ file ![]() Create redirect_user_after_ fileĭescription: customize url redirect after user logged in successfully.Ĭonfigure: redirect_user_after_ttings In this article, I'll show you how to redirect user after login in drupal 8
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |