forked from developmentseed/FeatureServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fserver.context.inc
41 lines (39 loc) · 1.02 KB
/
fserver.context.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
<?php
/**
* Implementation of hook_context_default_contexts().
*/
function fserver_context_default_contexts() {
$export = array();
$context = new stdClass;
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
$context->api_version = 3;
$context->name = 'fserver-section-project';
$context->description = '';
$context->tag = '';
$context->conditions = array(
'node' => array(
'values' => array(
'fserver_project' => 'fserver_project',
'fserver_distro' => 'fserver_distro',
),
'options' => array(
'node_form' => 0,
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'views-fserver_releases-block_1' => array(
'module' => 'views',
'delta' => 'fserver_releases-block_1',
'region' => 'content',
'weight' => 0,
),
),
),
);
$context->condition_mode = 0;
$export['fserver-section-project'] = $context;
return $export;
}