12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?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;
- }
|