File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed
Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ /**
6+ * @author Amasty Team
7+ * @copyright Copyright (c) Amasty (https://www.amasty.com)
8+ * @package Import-Export Core for Magento 2 (System)
9+ */
10+
11+ namespace Amasty \ImportExportCore \Model \OptionSource ;
12+
13+ use Magento \Framework \Data \OptionSourceInterface ;
14+
15+ class ProcessStatusCheckMode implements OptionSourceInterface
16+ {
17+ public const PID = 0 ;
18+ public const STATUS = 1 ;
19+
20+ public function toOptionArray (): array
21+ {
22+ $ result = [];
23+ foreach ($ this ->toArray () as $ value => $ label ) {
24+ $ result [] = [
25+ 'label ' => $ label ,
26+ 'value ' => $ value
27+ ];
28+ }
29+
30+ return $ result ;
31+ }
32+
33+ public function toArray (): array
34+ {
35+ return [
36+ self ::PID => __ ('System Process ID ' ),
37+ self ::STATUS => __ ('Statuses ' )
38+ ];
39+ }
40+ }
Original file line number Diff line number Diff line change 55 "php" : " >=7.3"
66 },
77 "type" : " magento2-module" ,
8- "version" : " 1.3 .0" ,
8+ "version" : " 1.4 .0" ,
99 "license" : [
1010 " proprietary"
1111 ],
Original file line number Diff line number Diff line change 11"The file "" %1"" does not exist" , "The file "" %1"" does not exist"
22" Invalid XML in file %1:\n%2" , " Invalid XML in file %1:\n%2"
33. , .
4+ " System Process ID" , " System Process ID"
5+ Statuses , Statuses
46" The consumer isn't authorized to access %1" , " The consumer isn't authorized to access %1"
57" Please specify the profile ID" , " Please specify the profile ID"
68" The process has been started." , " The process has been started."
You can’t perform that action at this time.
0 commit comments