You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/bc_api_example/bc_api_example.data.inc
+174-5Lines changed: 174 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,26 @@ function bc_api_example_get_nationalities_data() {
30
30
'label' => 'Scotland',
31
31
'tid' => NULL,
32
32
],
33
+
'china' => [
34
+
'label' => 'China',
35
+
'tid' => NULL,
36
+
],
37
+
'united_states' => [
38
+
'label' => 'United States',
39
+
'tid' => NULL,
40
+
],
41
+
'united_kingdom' => [
42
+
'label' => 'United Kingdom',
43
+
'tid' => NULL,
44
+
],
45
+
'jamaica' => [
46
+
'label' => 'Jamaica',
47
+
'tid' => NULL,
48
+
],
49
+
'france' => [
50
+
'label' => 'France',
51
+
'tid' => NULL,
52
+
],
33
53
];
34
54
}
35
55
@@ -58,6 +78,38 @@ function bc_api_example_get_ships_data() {
58
78
'title' => 'Adventure Galley',
59
79
'nid' => NULL,
60
80
],
81
+
'red_flag_fleet' => [
82
+
'title' => 'Red Flag Fleet',
83
+
'nid' => NULL,
84
+
],
85
+
'fancy' => [
86
+
'title' => 'Fancy',
87
+
'nid' => NULL,
88
+
],
89
+
'the_ghost' => [
90
+
'title' => 'The Ghost',
91
+
'nid' => NULL,
92
+
],
93
+
'whydah_gally' => [
94
+
'title' => 'Whydah Gally',
95
+
'nid' => NULL,
96
+
],
97
+
'ranger' => [
98
+
'title' => 'Ranger',
99
+
'nid' => NULL,
100
+
],
101
+
'la_trompeuse' => [
102
+
'title' => 'La Trompeuse',
103
+
'nid' => NULL,
104
+
],
105
+
'pirate_queen' => [
106
+
'title' => 'pirate_queen',
107
+
'nid' => NULL,
108
+
],
109
+
'blessed_william' => [
110
+
'title' => 'Blessed William',
111
+
'nid' => NULL,
112
+
],
61
113
];
62
114
}
63
115
@@ -71,7 +123,7 @@ function bc_api_example_get_pirates_data() {
71
123
'status' => 1,
72
124
'title' => 'Edward Teach',
73
125
'body' => "",
74
-
'nickname' => "Blackbeard",
126
+
'nickname' => ["Blackbeard"],
75
127
'nationality' => ['england'],
76
128
'ships' => ['queen_anne'],
77
129
],
@@ -80,7 +132,7 @@ function bc_api_example_get_pirates_data() {
80
132
'status' => 1,
81
133
'title' => 'Bartholomew Roberts',
82
134
'body' => "",
83
-
'nickname' => "Black Bart",
135
+
'nickname' => ["Black Bart", "The Dread Pirate"],
84
136
'nationality' => ['wales'],
85
137
'ships' => ['royal_fortune'],
86
138
],
@@ -89,15 +141,15 @@ function bc_api_example_get_pirates_data() {
89
141
'status' => 1,
90
142
'title' => 'Sam Bellamy',
91
143
'body' => "",
92
-
'nickname' => "Black Sam",
144
+
'nickname' => ["Black Sam"],
93
145
'nationality' => ['england'],
94
146
'ships' => ['whydah'],
95
147
],
96
148
'stede_bonnet' => [
97
149
'nid' => NULL,
98
150
'status' => 1,
99
151
'title' => 'Stede Bonnet',
100
-
'nickname' => "The Gentleman Pirate",
152
+
'nickname' => ["The Gentleman Pirate"],
101
153
'body' => "Nicknamed \"The Gentleman Pirate\", Bonnet was born into a wealthy family before turning to piracy.",
102
154
'nationality' => ['barbados'],
103
155
'ships' => ['revenge'],
@@ -106,10 +158,127 @@ function bc_api_example_get_pirates_data() {
106
158
'nid' => NULL,
107
159
'status' => 1,
108
160
'title' => 'William Kidd',
109
-
'nickname' => "Captain",
161
+
'nickname' => ["Captain", "Captain Kidd"],
110
162
'body' => "Although modern historians dispute the legitimacy of his trial and execution, the rumor of Captain Kidd's buried treasure has served only to build a legend around the man as a great pirate. His property was claimed by the crown and given to the Royal Hospital, Greenwich, by Queen Anne.",
0 commit comments