-
Notifications
You must be signed in to change notification settings - Fork 2
/
Plugin.php
33 lines (29 loc) · 870 Bytes
/
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
<?php namespace RomainMazB\CallNow;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function registerComponents()
{
return [
'RomainMazB\CallNow\Components\Button' => 'callNowButton'
];
}
/**
* Registers the settings used by this plugin
*
* @return array
*/
public function registerSettings()
{
return [
'settings' => [
'label' => 'romainmazb.callnow::lang.plugin.name',
'description' => 'romainmazb.callnow::lang.callnow.settings_description',
'icon' => 'icon-phone',
'class' => 'RomainMazB\CallNow\Models\Settings',
'keywords' => 'call now',
'permissions' => ['romainmazb.callnow.settings'],
],
];
}
}