function drupal_maintenance_theme in Drupal 10
Same name and namespace in other branches
- 8 core/includes/bootstrap.inc \drupal_maintenance_theme()
- 4 includes/bootstrap.inc \drupal_maintenance_theme()
- 5 includes/bootstrap.inc \drupal_maintenance_theme()
- 6 includes/bootstrap.inc \drupal_maintenance_theme()
- 7 includes/bootstrap.inc \drupal_maintenance_theme()
- 9 core/includes/bootstrap.inc \drupal_maintenance_theme()
Enables use of the theme system without requiring database access.
Loads and initializes the theme system for site installs, updates and when the site is in maintenance mode. This also applies when the database fails.
See also
7 calls to drupal_maintenance_theme()
- authorize.php in core/
authorize.php - Administrative script for running authorized file operations.
- drupal_flush_all_caches in core/
includes/ common.inc - Rebuilds the container, flushes all persistent caches, resets all variables, and rebuilds all data structures.
- install_begin_request in core/
includes/ install.core.inc - Begins an installation request, modifying the installation state as needed.
- install_display_output in core/
includes/ install.core.inc - Displays themed installer output and ends the page request.
- install_run_tasks in core/
includes/ install.core.inc - Runs all tasks for the current installation request.
File
- core/
includes/ bootstrap.inc, line 314 - Functions that need to be loaded on every Drupal request.
Code
function drupal_maintenance_theme() {
require_once __DIR__ . '/theme.maintenance.inc';
_drupal_maintenance_theme();
}