|
|
@@ -21,6 +21,20 @@ function all_connection_types() {
|
|
21
|
21
|
'reciprocal' => true,
|
|
22
|
22
|
'admin_box' => $admin_box
|
|
23
|
23
|
]);
|
|
|
24
|
+ p2p_register_connection_type([
|
|
|
25
|
+ 'name' => 'artists_to_exhibitions',
|
|
|
26
|
+ 'to' => 'artist',
|
|
|
27
|
+ 'from' => 'exhibition',
|
|
|
28
|
+ 'reciprocal' => true,
|
|
|
29
|
+ 'admin_box' => $admin_box
|
|
|
30
|
+ ]);
|
|
|
31
|
+ p2p_register_connection_type([
|
|
|
32
|
+ 'name' => 'artists_to_events',
|
|
|
33
|
+ 'to' => 'artist',
|
|
|
34
|
+ 'from' => 'event',
|
|
|
35
|
+ 'reciprocal' => true,
|
|
|
36
|
+ 'admin_box' => $admin_box
|
|
|
37
|
+ ]);
|
|
24
|
38
|
|
|
25
|
39
|
p2p_register_connection_type([
|
|
26
|
40
|
'name' => 'episodes_to_exhibitions',
|