forked from wintercms/wn-docs-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlugin.php
38 lines (35 loc) · 959 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
34
35
36
37
38
<?php namespace Winter\Docs;
use Backend;
use Event;
use Lang;
use System\Classes\CombineAssets;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function pluginDetails()
{
return [
'name' => 'winter.docs::lang.plugin.name',
'description' => 'winter.docs::lang.plugin.description',
'author' => 'Winter CMS',
'icon' => 'icon-tags',
'homepage' => 'https://github.com/wintercms/docs-plugin',
'replaces' => 'RainLab.Docs'
];
}
/**
* Registers back-end quick actions for this plugin.
*
* @return array
*/
public function registerQuickActions()
{
return [
'help' => [
'label' => 'winter.docs::lang.links.docsLink',
'icon' => 'icon-question-circle',
'url' => Backend::url('docs'),
],
];
}
}