-
Notifications
You must be signed in to change notification settings - Fork 2
/
Plugin.php
35 lines (32 loc) · 1.02 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
<?php namespace Indikator\Form;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function pluginDetails()
{
return [
'name' => 'indikator.form::lang.plugin.name',
'description' => 'indikator.form::lang.plugin.description',
'author' => 'indikator.form::lang.plugin.author',
'icon' => 'icon-check-square-o',
'homepage' => 'https://github.com/gergo85/oc-form-widgets'
];
}
public function registerFormWidgets()
{
return [
'Indikator\Form\FormWidgets\Pickadate' => [
'label' => 'Pickadate',
'code' => 'pickadate'
],
'Indikator\Form\FormWidgets\TimePicki' => [
'label' => 'TimePicki',
'code' => 'timepicki'
],
'Indikator\Form\FormWidgets\MiniColors' => [
'label' => 'MiniColors',
'code' => 'minicolors'
]
];
}
}