Change record status: 
Project: 
Introduced in branch: 
11.1.x
Introduced in version: 
11.1.0
Description: 

system_theme has been converted to an OOP hook in core/modules/system/src/Hook/ThemeHook.php
This hooks loads all templates it always has.

drupal_common_theme has been deprecated and the contents moved to core/lib/Drupal/Core/Theme/ThemeCommonElements.php

Before

drupal_common_theme();

After

use Drupal\Core\Theme\ThemeCommonElements;

ThemeCommonElements::commonElements();

Registry.php now checks if Drupal is being installed and loads the minimum needed for installation.

The following items have moved from system_theme to ThemeCommonElements to facilitate installation.

'off_canvas_page_wrapper' => [
  'variables' => [
    'children' => NULL,
  ],
],
'status_report_grouped' => [
  'variables' => [
    'grouped_requirements' => NULL,
    'requirements' => NULL,
  ],
],
Impacts: 
Module developers
Themers
Site templates, recipes and distribution developers