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
parent
e37031e09a
commit
bbda99e0a6
|
@ -33,7 +33,7 @@ class InfoParserDynamic implements InfoParserInterface {
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue