-
Notifications
You must be signed in to change notification settings - Fork 14
/
module.json
53 lines (53 loc) · 1.48 KB
/
module.json
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
51
52
53
{
"alias": "my-blog",
"icon": "edit",
"version": "2.0.0",
"active": 1,
"providers": [
"Modules\\MyBlog\\Providers\\Event",
"Modules\\MyBlog\\Providers\\Main",
"Modules\\MyBlog\\Providers\\Observer"
],
"aliases": {},
"files": [],
"requires": [],
"reports": [
"Modules\\MyBlog\\Reports\\PostSummary",
"Modules\\MyBlog\\Reports\\CommentSummary"
],
"widgets": [
"Modules\\MyBlog\\Widgets\\PostsByCategory",
"Modules\\MyBlog\\Widgets\\CommentsByPost",
"Modules\\MyBlog\\Widgets\\TopAuthors",
"Modules\\MyBlog\\Widgets\\LatestPosts",
"Modules\\MyBlog\\Widgets\\LatestComments"
],
"settings": [
{
"type": "text",
"name": "header",
"title": "my-blog::settings.header",
"attributes": {
"required": "required"
},
"rules": "required|string"
},
{
"type": "switch",
"name": "enable_comments",
"title": "my-blog::settings.enable_comments",
"enable": "general.yes",
"disable": "general.no",
"attributes": {},
"rules": "integer|boolean"
},
{
"type": "textarea",
"name": "meta_description",
"title": "my-blog::settings.meta_description",
"attributes": {},
"rules": "nullable|string"
}
],
"extra-modules": {}
}