Node form – self changing theme I'm adding different way of node editing so I have this code in my module:

$items['node/%node/edit-full'] = array(
'title' =&gt; 'Full edit',
'page callback' =&gt; 'node_page_edit',
'page arguments' =&gt; array(1),
'access callback' =&gt; 'node_access',
'access arguments' =&gt; array('update', 1),
'weight' =&gt; 0,
'type' =&gt; MENU_LOCAL_TASK,
'file' =&gt; 'node.pages.inc',
'file path' =&gt; drupal_get_path('module', 'node'));


What is disturbing.. it changes theme from admin to regular. Instead of Seven Theme I see regular website theme. Am I missing some variable in my definition?
You need to implement hook_admin_paths() to tell Drupal to use the admin theme for your URL pattern:


  Modules may specify whether or not the paths they define in hook_menu() are to be considered administrative. Other modules may use this information to display those pages differently (e.g. in a modal overlay, or in a different theme).


In your case the code would look a lot like this:

function MYMODULE_admin_paths() {
  $paths = array(
    'node/*/edit-full' =&gt; TRUE
  );
  return $paths;
}


Once you've cleared the caches your pages should now be using the admin theme.