-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlugin.php
More file actions
executable file
·42 lines (36 loc) · 1.18 KB
/
Plugin.php
File metadata and controls
executable file
·42 lines (36 loc) · 1.18 KB
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
40
41
42
<?php namespace Codeclutch\Contact;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function pluginDetails()
{
return [
'name' => 'codeclutch.contact::lang.plugin.name',
'description' => 'codeclutch.contact::lang.plugin.description',
'author' => 'codeclutch',
'icon' => 'icon-at'
];
}
public function registerSettings()
{
return [
'config' => [
'label' => 'codeclutch.contact::lang.plugin.name',
'description' => 'codeclutch.contact::lang.plugin.description',
'category' => 'codeclutch',
'icon' => 'icon-at',
'order' => 2,
'class' => 'Codeclutch\Contact\Models\Settings'
]
];
}
public function registerComponents()
{
return [
'Codeclutch\Contact\Components\ContactInformation' => 'contactInformation',
'Codeclutch\Contact\Components\Receivers' => 'receivers',
'Codeclutch\Contact\Components\SocialIcons' => 'socialIcons'
];
}
public $require = ['Codeclutch.Meta', 'Zakir.AllFontIcons'];
}