Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function loadOverrides($names) { |
||
37 | if (in_array('language.types', $names)) { |
||
38 | $config = $this->baseStorage->read('language.types'); |
||
39 | foreach (array_keys($config['negotiation']) as $type) { |
||
40 | $config['negotiation'][$type]['enabled']['language-graphql'] = -999; |
||
41 | asort($config['negotiation'][$type]['enabled']); |
||
42 | } |
||
43 | return ['language.types' => $config]; |
||
44 | } |
||
45 | return []; |
||
46 | } |
||
47 | |||
70 |