Conditions | 4 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
184 | public function getEditors(): array |
||
185 | { |
||
186 | $list = $this->config()->get('editor_configs'); |
||
187 | foreach ($list as $key => $entry) { |
||
188 | if (! empty($entry['based_on']) && ! empty($list[$entry['based_on']])) { |
||
189 | $entry = array_merge_recursive($list[$entry['based_on']], $entry); |
||
190 | } |
||
191 | |||
192 | $list[$key] = $entry; |
||
193 | } |
||
194 | |||
195 | return $list; |
||
196 | } |
||
198 |