Often times a developer will want their own user login form and will want to get rid of the default route, or get rid of any default route for that matter. With this new function, it'll be possible.
/**
* Implements hook_init()
*/
function my_module_init() {
// Remove the user login route provided by DrupalGap 8 core.
dg.router.deleteRoute('user.login');
}
Often times a developer will want their own user login form and will want to get rid of the default route, or get rid of any default route for that matter. With this new function, it'll be possible.