Drupal – Change user edit page’s theme from admin theme (Seven)
12 years ago, May 18, 2012
Reading time: 1 mins
To change drupal's user edit page's theme from the default admin theme (Seven) to other theme (default theme or theme configured in themekey)
Use hook_admin_paths_alter
function MY_MODULE_admin_paths_alter(&$paths) {
// Treat all user pages as not administrative.
$paths['user/*'] = FALSE;
// or you can just do it for user/%/edit
}