File tree Expand file tree Collapse file tree 3 files changed +63
-2
lines changed Expand file tree Collapse file tree 3 files changed +63
-2
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
+ namespace Magento \UpwardConnector \Model \System \Message ;
8
+
9
+ use Magento \Store \Model \Store ;
10
+
11
+ class Security implements \Magento \Framework \Notification \MessageInterface
12
+ {
13
+ /**
14
+ * @return string
15
+ */
16
+ public function getIdentity ()
17
+ {
18
+ return 'security ' ;
19
+ }
20
+
21
+ /**
22
+ * @return bool
23
+ */
24
+ public function isDisplayed ()
25
+ {
26
+ return false ;
27
+ }
28
+
29
+ /**
30
+ * @return \Magento\Framework\Phrase
31
+ */
32
+ public function getText ()
33
+ {
34
+ return __ ('Security check not applicable to UPWARD ' );
35
+ }
36
+
37
+ /**
38
+ * @return int
39
+ */
40
+ public function getSeverity ()
41
+ {
42
+ return \Magento \Framework \Notification \MessageInterface::SEVERITY_NOTICE ;
43
+ }
44
+ }
Original file line number Diff line number Diff line change 6
6
},
7
7
"require" : {
8
8
"php" : " ~7.1.3||~7.2.0||~7.3.0" ,
9
- "magento/framework" : " ^ 102.0" ,
10
- "magento/upward" : " ^1.0.0 "
9
+ "magento/framework" : " 102.0.* " ,
10
+ "magento/upward" : " ^1.1.3 "
11
11
},
12
12
"type" : " magento2-module" ,
13
13
"license" : [
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
10
+ <type name =" Magento\Framework\Notification\MessageList" >
11
+ <arguments >
12
+ <argument name =" messages" xsi : type =" array" >
13
+ <item name =" security" xsi : type =" string" >Magento\UpwardConnector\Model\System\Message\Security</item >
14
+ </argument >
15
+ </arguments >
16
+ </type >
17
+ </config >
You can’t perform that action at this time.
0 commit comments