2016-06-13 19:14:58 +02:00

47 lines
1.0 KiB
PHP

<?php
/**
* @file
* social_links.context.inc
*/
/**
* Implements hook_context_default_contexts().
*/
function social_links_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 = 'social_links';
$context->description = '';
$context->tag = 'sitewide';
$context->conditions = array(
'sitewide' => array(
'values' => array(
1 => 1,
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'social_media_links-social-media-links' => array(
'module' => 'social_media_links',
'delta' => 'social-media-links',
'region' => 'headerblock_left',
'weight' => '-10',
),
),
),
);
$context->condition_mode = 1;
// Translatables
// Included for use with string extractors like potx.
t('sitewide');
$export['social_links'] = $context;
return $export;
}