Skip to content

Commit 45b7b25

Browse files
MC-41603: Add new options to configure PayPal PayLater styles to System configuration
- add missed system config file
1 parent 0277f1c commit 45b7b25

File tree

1 file changed

+32
-0
lines changed
  • app/code/Magento/Paypal/Model/System/Config/Source/PayLater

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
declare(strict_types=1);
7+
8+
namespace Magento\Paypal\Model\System\Config\Source\PayLater;
9+
10+
/**
11+
* Source model for PayLater banner text size
12+
*/
13+
class TextSize
14+
{
15+
/**
16+
* PayLater text sizes source getter for Catalog Product Page
17+
*
18+
* @return array
19+
*/
20+
public function getTextSizesCPP(): array
21+
{
22+
return [
23+
'10' => '10px',
24+
'11' => '11px',
25+
'12' => '12px',
26+
'13' => '13px',
27+
'14' => '14px',
28+
'15' => '15px',
29+
'16' => '16px'
30+
];
31+
}
32+
}

0 commit comments

Comments
 (0)