File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
app/code/Magento/PageBuilder
Model/Config/ContentType/AdditionalData/Provider/Uploader Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ class OpenDialogUrl implements ProviderInterface
28
28
29
29
/**
30
30
* @param Url $urlBuilder
31
- * @param string $openDialogPath
31
+ * @param array $openDialogPath
32
32
*/
33
33
public function __construct (
34
34
Url $ urlBuilder ,
35
- string $ openDialogPath
35
+ array $ openDialogPath
36
36
) {
37
37
$ this ->urlBuilder = $ urlBuilder ;
38
- $ this ->openDialogPath = $ openDialogPath ;
38
+ $ this ->openDialogPath = array_shift ( $ openDialogPath) ;
39
39
}
40
40
41
41
/**
Original file line number Diff line number Diff line change 14
14
</type >
15
15
<type name =" Magento\PageBuilder\Model\Config\ContentType\AdditionalData\Provider\Uploader\OpenDialogUrl" >
16
16
<arguments >
17
- <argument name =" openDialogPath" xsi : type =" string" >cms/wysiwyg_images/index</argument >
17
+ <argument name =" openDialogPath" xsi : type =" array" >
18
+ <item name =" default" xsi : type =" string" >cms/wysiwyg_images/index</item >
19
+ </argument >
18
20
</arguments >
19
21
</type >
20
22
<virtualType name =" Magento\PageBuilder\Block\Adminhtml\ContentType\Edit\ModalCloseButton" type =" Magento\PageBuilder\Block\Adminhtml\ContentType\Edit\CloseButton" >
You can’t perform that action at this time.
0 commit comments