In Drupal 7, you can use the hook_menu() function to define a menu item and specify its callback function. To show a specific admin theme for a menu item, you can use the theme callback parameter in the hook_menu() function.
Source code viewer
/** * Implements hook_menu(). */ function MYMODULE_menu() { 'title' => t('Page Title'), 'page callback' => 'MYMODULE_page', // Get current admin theme from variables, and use it as target theme. 'theme callback' => 'variable_get', ); return $items; } Programming Language: PHP