-
Notifications
You must be signed in to change notification settings - Fork 0
/
wechat_response_message_types.inc
56 lines (54 loc) · 1.28 KB
/
wechat_response_message_types.inc
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
54
55
56
<?php
/**
* @file
* message_types.features.inc
*/
/**
* Implements hook_default_wechat_response_message_type().
*/
function wechat_default_wechat_response_message_type() {
$items = array();
$items['image'] = entity_import('wechat_response_message_type', '{
"type" : "image",
"label" : "Image",
"weight" : "0",
"data" : null,
"rdf_mapping" : []
}');
$items['music'] = entity_import('wechat_response_message_type', '{
"type" : "music",
"label" : "Music",
"weight" : "0",
"data" : null,
"rdf_mapping" : []
}');
$items['news'] = entity_import('wechat_response_message_type', '{
"type" : "news",
"label" : "News",
"weight" : "0",
"data" : null,
"rdf_mapping" : []
}');
$items['text'] = entity_import('wechat_response_message_type', '{
"type" : "text",
"label" : "Text",
"weight" : "0",
"data" : null,
"rdf_mapping" : []
}');
$items['video'] = entity_import('wechat_response_message_type', '{
"type" : "video",
"label" : "Video",
"weight" : "0",
"data" : null,
"rdf_mapping" : []
}');
$items['voice'] = entity_import('wechat_response_message_type', '{
"type" : "voice",
"label" : "Voice",
"weight" : "0",
"data" : null,
"rdf_mapping" : []
}');
return $items;
}