flexslider_example.context.inc in Flex Slider 7.2
File
flexslider_example/flexslider_example.context.inc
View source
<?php
function flexslider_example_context_default_contexts() {
$export = array();
$context = new stdClass();
$context->disabled = FALSE;
$context->api_version = 3;
$context->name = 'flexslider_example_thumbnail';
$context->description = 'Add thumbnail block to thumbnail slideshow';
$context->tag = 'FlexSlider Example';
$context->conditions = array(
'views' => array(
'values' => array(
'flexslider_views_example:page_2' => 'flexslider_views_example:page_2',
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'views-0070a91ad114185c9bacdc9eb0b88ce2' => array(
'module' => 'views',
'delta' => '0070a91ad114185c9bacdc9eb0b88ce2',
'region' => 'content',
'weight' => '-10',
),
),
),
);
$context->condition_mode = 0;
t('Add thumbnail block to thumbnail slideshow');
t('FlexSlider Example');
$export['flexslider_example_thumbnail'] = $context;
return $export;
}