Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
32 | public function __construct($id, $parent = null, array $config = []) |
||
33 | { |
||
34 | // Merge in the passed config, so it our config can be overridden by Plugins::pluginConfigs['vite'] |
||
35 | // ref: https://github.com/craftcms/cms/issues/1989 |
||
36 | $config = ArrayHelper::merge([ |
||
37 | 'components' => [ |
||
38 | 'embed' => EmbedService::class, |
||
39 | ], |
||
40 | ], $config); |
||
41 | |||
42 | parent::__construct($id, $parent, $config); |
||
43 | } |
||
56 |