drupal_maintenance_theme

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

_drupal_maintenance_theme()

File

core/includes/bootstrap.inc, line 704
Functions that need to be loaded on every Drupal request.

Code

1
2
3
4
function drupal_maintenance_theme() {
  require_once __DIR__ . '/theme.maintenance.inc';
  _drupal_maintenance_theme();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.