File tree 2 files changed +27
-0
lines changed
app/code/Magento/PageBuilder
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+
7
+ declare (strict_types=1 );
8
+
9
+ namespace Magento \PageBuilder \Ui \Component \UrlInput ;
10
+
11
+ /** Provides configuration for url input link */
12
+ class Url implements \Magento \Ui \Model \UrlInput \ConfigInterface
13
+ {
14
+ /**
15
+ * @inheritdoc
16
+ */
17
+ public function getConfig (): array
18
+ {
19
+ return [
20
+ 'label ' => __ ('URL ' ),
21
+ 'component ' => 'Magento_Ui/js/form/element/abstract ' ,
22
+ 'template ' => 'Magento_PageBuilder/form/element/input-no-maxlength ' ,
23
+ 'sortOrder ' => 20
24
+ ];
25
+ }
26
+ }
Original file line number Diff line number Diff line change 107
107
<arguments >
108
108
<argument name =" linksConfiguration" xsi : type =" array" >
109
109
<item name =" page" xsi : type =" string" >Magento\PageBuilder\Ui\Component\UrlInput\Page</item >
110
+ <item name =" default" xsi : type =" string" >Magento\PageBuilder\Ui\Component\UrlInput\Url</item >
110
111
</argument >
111
112
</arguments >
112
113
</type >
You can’t perform that action at this time.
0 commit comments