-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhappy_developer.context.inc
More file actions
48 lines (45 loc) · 1.1 KB
/
happy_developer.context.inc
File metadata and controls
48 lines (45 loc) · 1.1 KB
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
43
44
45
46
47
48
<?php
/**
* @file
* happy_developer.context.inc
*/
/**
* Implementation of hook_context_default_contexts().
*/
function happy_developer_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 = 'happy_developer';
$context->description = '';
$context->tag = '';
$context->conditions = array(
'user' => array(
'values' => array(
'administrator' => 'administrator',
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'context_ui-devel' => array(
'module' => 'context_ui',
'delta' => 'devel',
'region' => 'content',
'weight' => '-10',
),
'devel-execute_php' => array(
'module' => 'devel',
'delta' => 'execute_php',
'region' => 'content',
'weight' => '-10',
),
),
),
);
$context->condition_mode = 0;
$export['happy_developer'] = $context;
return $export;
}