-
Notifications
You must be signed in to change notification settings - Fork 0
/
ideograph_wysiwyg_views.context.inc
50 lines (46 loc) · 1.18 KB
/
ideograph_wysiwyg_views.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
43
44
45
46
47
48
49
50
<?php
/**
* @file
* ideograph_wysiwyg_views.context.inc
*/
/**
* Implements hook_context_default_contexts().
*/
function ideograph_wysiwyg_views_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 = 'wysiwyw_news';
$context->description = 'displays for news context';
$context->tag = 'blocks';
$context->conditions = array(
'path' => array(
'values' => array(
'~articles' => '~articles',
'~articles/*' => '~articles/*',
'~<front>' => '~<front>',
'~about' => '~about',
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'views-news-block' => array(
'module' => 'views',
'delta' => 'news-block',
'region' => 'sidebar_first',
'weight' => '-10',
),
),
),
);
$context->condition_mode = 0;
// Translatables
// Included for use with string extractors like potx.
t('blocks');
t('displays for news context');
$export['wysiwyw_news'] = $context;
return $export;
}