1 user.module | user_register_page() |
Menu callback to create a new account.
@since 1.23.1 Replaces user_register_form() as menu callback.
See also
File
- core/
modules/ user/ user.module, line 3466 - Enables the user registration and login system.
Code
function user_register_page() {
// We need to set the page title because this menu entry is a local task.
backdrop_set_title(t('Create new account'));
$user_register_form = backdrop_get_form('user_register_form');
return user_login_page_wrapper($user_register_form);
}