Reading time: 1 mins

Drupal – Change user edit page’s theme from admin theme (Seven)

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
Nepal? Sanghiyata? Jatiya pradesh? bahunbad ? atibaad? bikhandan? bibhajan?
Configure Multiple Domains in apache for local development
© 2023 Anil Maharjan