forked from grayside/casetracker_console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcasetracker_console.context.inc
42 lines (38 loc) · 1.03 KB
/
casetracker_console.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
42
<?php
/**
* Implementation of hook_context_default_contexts().
*/
function casetracker_console_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 = 'casetracker_console';
$context->description = '';
$context->tag = 'Casetracker';
$context->conditions = array(
'views' => array(
'values' => array(
'casetracker_console' => 'casetracker_console',
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'casetracker_console-filters' => array(
'module' => 'casetracker_console',
'delta' => 'filters',
'region' => 'right',
'weight' => 0,
),
),
),
);
$context->condition_mode = 0;
// Translatables
// Included for use with string extractors like potx.
t('Casetracker');
$export['casetracker_console'] = $context;
return $export;
}