added social links block
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?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;
|
||||
}
|
Reference in New Issue
Block a user