function menu_test_custom_theme

Implement hook_custom_theme().

Return value

The name of the custom theme to use for the current page.

Archivo

drupal-7.x/modules/simpletest/tests/menu_test.module, line 464
Dummy module implementing hook menu.

Código

function menu_test_custom_theme() {
  // If an appropriate variable has been set in the database, request the theme
  // that is stored there. Otherwise, do not attempt to dynamically set the
  // theme.
  if ($theme = variable_get('menu_test_hook_custom_theme_name', FALSE)) {
    return $theme;
  }
}