function menu_set_custom_theme

Sets a custom theme for the current page, if there is one.

Related topics

2 calls to menu_set_custom_theme()
LegacyRequestSubscriber::onKernelRequestLegacy in drupal/core/lib/Drupal/Core/EventSubscriber/LegacyRequestSubscriber.php
Initializes the rest of the legacy Drupal subsystems.
_drupal_bootstrap_full in drupal/core/includes/common.inc
Temporary BC function for scripts not using DrupalKernel.

File

drupal/core/includes/menu.inc, line 1743
API for the Drupal menu system.

Code

function menu_set_custom_theme() {
  menu_get_custom_theme(TRUE);
}