From bbda99e0a627be71a16b59c5b312dabbe63efd1b Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Tue, 15 Oct 2019 16:08:46 +0100 Subject: [PATCH] Issue #3072702 followup: Core extensions should not need to specify the new core_version_requirement in *.info.yml files so that 9.0.x can be installed --- core/lib/Drupal/Core/Extension/InfoParserDynamic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Extension/InfoParserDynamic.php b/core/lib/Drupal/Core/Extension/InfoParserDynamic.php index 73acd845afa2..bd281a1b3c72 100644 --- a/core/lib/Drupal/Core/Extension/InfoParserDynamic.php +++ b/core/lib/Drupal/Core/Extension/InfoParserDynamic.php @@ -33,7 +33,7 @@ public function __construct(string $app_root = NULL) { if ($app_root === NULL) { // @todo https://www.drupal.org/project/drupal/issues/3087975 Require // $app_root argument. - \Drupal::hasService('app.root') ? (string) \Drupal::service('app.root') : DRUPAL_ROOT; + $app_root = \Drupal::hasService('app.root') ? (string) \Drupal::service('app.root') : DRUPAL_ROOT; } $this->root = $app_root; } -- GitLab