-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathModule.php
50 lines (42 loc) · 1.03 KB
/
Module.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
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* Move content
* @link https://www.cuzy.app
* @license https://www.cuzy.app/cuzy-license
* @author [Marc FARRE](https://marc.fun)
*/
namespace humhub\modules\moveContent;
use Yii;
use yii\helpers\Url;
class Module extends \humhub\components\Module
{
/**
* @var string defines the icon
*/
public $icon = 'arrows-h';
/**
* @var string defines path for resources, including the screenshots path for the marketplace
*/
public $resourcesPath = 'resources';
/**
* @inerhitdoc
*/
public function getName()
{
return Yii::t('MoveContentModule.base', 'Move content and users');
}
/**
* @inerhitdoc
*/
public function getDescription()
{
return Yii::t('MoveContentModule.base', 'Transfer Content, Comments and Likes from one User or Space to another, and Users from one Group or Space to another.');
}
/**
* @inheritdoc
*/
public function getConfigUrl()
{
return Url::to(['/move-content/config']);
}
}