-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPlugin.php
39 lines (36 loc) · 1.01 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
38
39
<?php namespace Initbiz\GusApi;
use Backend;
use System\Classes\PluginBase;
/**
* gusapi Plugin Information File
*/
class Plugin extends PluginBase
{
/**
* Returns information about this plugin.
*
* @return array
*/
public function pluginDetails()
{
return [
'name' => 'GusApi',
'description' => 'Gus Api plugin for October CMS',
'author' => 'Initbiz',
'icon' => 'icon-leaf'
];
}
public function registerSettings()
{
return [
'gusapi' => [
'label' => 'initbiz.gusapi::lang.settings.menu_gusapi_label',
'description' => 'initbiz.gusapi::lang.settings.menu_gusapi_description',
'category' => 'initbiz.gusapi::lang.settings.menu_category',
'icon' => 'icon-cubes',
'class' => 'Initbiz\GusApi\Models\Settings',
'order' => 100
]
];
}
}