-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlugin.php
37 lines (34 loc) · 1.22 KB
/
Plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php namespace Shohabbos\Paykassa;
use Backend;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function registerComponents()
{
return [
\Shohabbos\Paykassa\Components\PayForm::class => 'paykassaPayForm',
];
}
public function registerSettings()
{
return [
'transactions' => [
'label' => 'shohabbos.paykassa::lang.transactions.title',
'description' => 'shohabbos.paykassa::lang.transactions.description',
'icon' => 'icon-list-alt',
'url' => Backend::url('shohabbos/paykassa/transactions'),
'order' => 500,
'category' => 'shohabbos.paykassa::lang.plugin.name',
],
'settings' => [
'category' => 'shohabbos.paykassa::lang.plugin.name',
'label' => 'shohabbos.paykassa::lang.settings.label',
'description' => 'shohabbos.paykassa::lang.settings.description',
'icon' => 'icon-cog',
'class' => 'Shohabbos\Paykassa\Models\Settings',
'order' => 501,
'keywords' => 'Paykassa paymets',
]
];
}
}