-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathPlugin.php
More file actions
executable file
·33 lines (30 loc) · 715 Bytes
/
Plugin.php
File metadata and controls
executable file
·33 lines (30 loc) · 715 Bytes
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
<?php namespace Winter\Notes;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
/**
* Returns information about this plugin.
*
* @return array
*/
public function pluginDetails()
{
return [
'name' => 'winter.notes::lang.plugin.name',
'description' => 'winter.notes::lang.plugin.description',
'author' => 'Winter CMS',
'icon' => 'icon-file-text-o'
];
}
/**
* Register the plugin's form widgets
*
* @return array
*/
public function registerFormWidgets()
{
return [
'Winter\Notes\FormWidgets\Notes' => 'notes',
];
}
}