|
|
@@ -20,15 +20,16 @@ function register_connections_for($type, $from_types) {
|
|
20
|
20
|
}
|
|
21
|
21
|
|
|
22
|
22
|
function register_all_one_offs() {
|
|
23
|
|
- register_connections_for('object', ['object', 'exhibition', 'guide', 'technique', 'post', 'publication']);
|
|
24
|
|
- register_connections_for('artist', ['artist', 'object', 'technique', 'publication']);
|
|
25
|
|
- register_connections_for('short', ['short', 'exhibition', 'event', 'object', 'guide', 'post', 'technique', 'publication']);
|
|
|
23
|
+ register_connections_for('post', ['post', 'publication']);
|
|
|
24
|
+ register_connections_for('artist', ['artist', 'object', 'technique', 'post', 'publication']);
|
|
|
25
|
+ register_connections_for('exhibition', ['exhibition','technique', 'post', 'publication']);
|
|
|
26
|
+ register_connections_for('event', ['event', 'object', 'guide', 'technique', 'post', 'publication']);
|
|
|
27
|
+ register_connections_for('episode', ['episode', 'object', 'guide', 'technique', 'post', 'publication']);
|
|
|
28
|
+ register_connections_for('short', ['short', 'exhibition', 'event', 'object', 'guide', 'technique', 'post', 'publication']);
|
|
26
|
29
|
register_connections_for('technique', ['technique', 'post', 'publication']);
|
|
27
|
30
|
register_connections_for('guide', ['technique', 'exhibition', 'post', 'publication']);
|
|
28
|
|
- register_connections_for('exhibition', ['exhibition','technique', 'publication']);
|
|
29
|
|
- register_connections_for('event', ['event', 'object', 'post', 'guide', 'technique', 'publication']);
|
|
30
|
|
- register_connections_for('episode', ['episode', 'object', 'guide', 'technique', 'publication']);
|
|
31
|
|
- register_connections_for('post', ['post']);
|
|
|
31
|
+ register_connections_for('object', ['object', 'exhibition', 'guide', 'technique', 'post', 'publication']);
|
|
|
32
|
+ register_connections_for('publication', ['publication']);
|
|
32
|
33
|
}
|
|
33
|
34
|
|
|
34
|
35
|
function all_connection_types() {
|