File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
app/code/Magento/PageBuilder/Block/Adminhtml/System/Config Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 8
8
9
9
namespace Magento \PageBuilder \Block \Adminhtml \System \Config ;
10
10
11
+ use Magento \Backend \Block \Template \Context ;
12
+ use Magento \Config \Block \System \Config \Form \Field ;
13
+ use Magento \Framework \Phrase ;
14
+
11
15
/**
12
16
* Class SwitchAttributeType renders modal window to confirm changing attribute type
13
17
*
18
+ * @api
14
19
*/
15
- class SwitchAttributeType extends \ Magento \ Config \ Block \ System \ Config \ Form \ Field
20
+ class SwitchAttributeType extends Field
16
21
{
17
22
/**
18
- * @param \Magento\Backend\Block\Template\ Context $context
23
+ * @param Context $context
19
24
* @param array $data
20
25
*/
21
26
public function __construct (
22
- \ Magento \ Backend \ Block \ Template \ Context $ context ,
27
+ Context $ context ,
23
28
array $ data = []
24
29
) {
25
30
parent ::__construct ($ context , $ data );
@@ -38,9 +43,9 @@ public function getModalSelector() : string
38
43
/**
39
44
* Get text for the modal title heading when user switches to disable
40
45
*
41
- * @return \Magento\Framework\ Phrase
46
+ * @return Phrase
42
47
*/
43
- public function getModalTitleText () : \ Magento \ Framework \ Phrase
48
+ public function getModalTitleText () : Phrase
44
49
{
45
50
return __ ('Product data may be lost ' );
46
51
}
You can’t perform that action at this time.
0 commit comments