File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,14 @@ parameters:
12
12
- profile
13
13
- engine
14
14
drupal :
15
+ drupal_root : null
15
16
entityTypeStorageMapping :
16
17
node : Drupal\node\NodeStorage
17
18
taxonomy_term : Drupal\taxonomy\TermStorage
18
19
user : Drupal\user\UserStorage
19
20
parametersSchema :
20
21
drupal : structure ([
21
- drupal_root : string ()
22
+ drupal_root : schema ( string (), nullable () )
22
23
entityTypeStorageMapping : arrayOf (string ())
23
24
])
24
25
rules :
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ class DrupalAutoloader
63
63
public function register (Container $ container ): void
64
64
{
65
65
$ startPath = null ;
66
- $ drupalParams = $ container -> hasParameter ( ' drupal ' ) ? $ container -> getParameter ( ' drupal ' ) : [
67
- 'drupal_root ' => null ,
66
+ $ drupalParams = [
67
+ 'drupal_root ' => $ container -> getParameter ( ' drupal ' ) ,
68
68
'serviceMap ' => [],
69
69
'entityTypeStorageMapping ' => [],
70
70
];
You can’t perform that action at this time.
0 commit comments