-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPlugin.php
More file actions
executable file
·42 lines (36 loc) · 1.12 KB
/
Plugin.php
File metadata and controls
executable file
·42 lines (36 loc) · 1.12 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\Meta;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function pluginDetails()
{
return [
'name' => 'codeclutch.meta::lang.plugin.name',
'description' => 'codeclutch.meta::lang.plugin.description',
'author' => 'codeclutch',
'icon' => 'icon-home'
];
}
public function registerSettings()
{
return [
'config' => [
'label' => 'codeclutch.meta::lang.plugin.name',
'description' => 'codeclutch.meta::lang.plugin.description',
'category' => 'codeclutch',
'icon' => 'icon-home',
'order' => 1,
'class' => 'Codeclutch\Meta\Models\Settings'
]
];
}
public function registerComponents()
{
return [
'Codeclutch\Meta\Components\Copyright' => 'copyright',
'Codeclutch\Meta\Components\Logo' => 'logo',
'Codeclutch\Meta\Components\Head' => 'head',
'Codeclutch\Meta\Components\Signature' => 'signature',
];
}
}