majorityhunter.com

By Phil Frilling, 5 September, 2018
I was tasked with breaking the user registration form of a Drupal 8 installation into a multi-step form. This was necessary because depending on what a user selected in step one, they were shown different form fields in step two. To begin, I added all of the fields I needed to the user profile using the GUI. (/admin/config/people/accounts/fields). Then, I added the fields I needed to the manage form display/register tab (/admin/config/people/accounts/form-display/register). This gave me a working, one page registration form.
By Phil Frilling, 9 November, 2016
In order to alter a menu item that is provided by a module/system, you can use hook_preprocess_menu__MENUNAME() (Since hook_menu_alter() no longer exists). In my instance, I need to change the system provided 'Logout' link to read 'Log Out'.