-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPlugin.php
More file actions
27 lines (24 loc) · 894 Bytes
/
Plugin.php
File metadata and controls
27 lines (24 loc) · 894 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
<?php namespace Euknyaz\RelationDynamicDropdown;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function pluginDetails()
{
return [
'name' => 'euknyaz.relationdynamicdropdown::lang.plugin.name',
'description' => 'euknyaz.relationdynamicdropdown::lang.plugin.description',
'author' => 'euknyaz.relationdynamicdropdown::lang.plugin.author',
'icon' => 'icon-check-square-o',
'homepage' => 'https://github.com/euknyaz/oc-relation-dynamic-dropdown-formwidget'
];
}
public function registerFormWidgets()
{
return [
'Euknyaz\RelationDynamicDropdown\FormWidgets\RelationDynamicDropdown' => [
'label' => 'Relation Dynamic Dropdown',
'code' => 'relation-dynamic-dropdown'
]
];
}
}