By joachim on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.x
Introduced in version:
11.x
Issue links:
Description:
The $app_root parameter is deprecated in several methods of DrupalKernel:
public static function createFromRequest(Request $request, $class_loader, $environment, $allow_dumping = TRUE, $app_root = NULL) {
public function __construct($environment, $class_loader, $allow_dumping = TRUE, $app_root = NULL) {
public static function findSitePath(Request $request, $require_settings = TRUE, $app_root = NULL) {
public static function bootEnvironment($app_root = NULL) {
All of these should be called without the $app_root parameter.
Additionally, the protected method guessApplicationRoot() has been renamed to getApplicationRoot().
Impacts:
Module developers