Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* Implements hook_menu_alter.
*/
function MODULENAME_menu_alter(&$items) {
$items['admin/config/mini-panels-ipe/%']['theme callback'] = 'MODULENAME_get_default_theme';
}
function MODULENAME_get_default_theme() {
return variable_get('theme_default', '0');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment