Mercurial > hg > rr-repo
comparison sites/all/modules/flexslider/flexslider_example/flexslider_example.context.inc @ 2:b74b41bb73f0
-- Google analytics module
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 22 Aug 2013 17:22:54 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:67ce89da90df | 2:b74b41bb73f0 |
---|---|
1 <?php | |
2 /** | |
3 * @file | |
4 * flexslider_example.context.inc | |
5 */ | |
6 | |
7 /** | |
8 * Implements hook_context_default_contexts(). | |
9 */ | |
10 function flexslider_example_context_default_contexts() { | |
11 $export = array(); | |
12 | |
13 $context = new stdClass(); | |
14 $context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */ | |
15 $context->api_version = 3; | |
16 $context->name = 'flexslider_example_thumbnail'; | |
17 $context->description = 'Add thumbnail block to thumbnail slideshow'; | |
18 $context->tag = 'FlexSlider Example'; | |
19 $context->conditions = array( | |
20 'views' => array( | |
21 'values' => array( | |
22 'flexslider_views_example:page_2' => 'flexslider_views_example:page_2', | |
23 ), | |
24 ), | |
25 ); | |
26 $context->reactions = array( | |
27 'block' => array( | |
28 'blocks' => array( | |
29 'views-0070a91ad114185c9bacdc9eb0b88ce2' => array( | |
30 'module' => 'views', | |
31 'delta' => '0070a91ad114185c9bacdc9eb0b88ce2', | |
32 'region' => 'content', | |
33 'weight' => '-10', | |
34 ), | |
35 ), | |
36 ), | |
37 ); | |
38 $context->condition_mode = 0; | |
39 | |
40 // Translatables | |
41 // Included for use with string extractors like potx. | |
42 t('Add thumbnail block to thumbnail slideshow'); | |
43 t('FlexSlider Example'); | |
44 $export['flexslider_example_thumbnail'] = $context; | |
45 | |
46 return $export; | |
47 } |