commons_group_aggregator.context.inc in Drupal Commons 6.2
File
modules/features/commons_group_aggregator/commons_group_aggregator.context.inc
View source
<?php
function commons_group_aggregator_context_default_contexts() {
$export = array();
$context = new stdClass();
$context->disabled = FALSE;
$context->api_version = 3;
$context->name = 'aggregator-group';
$context->description = 'The group aggregator pages';
$context->tag = 'Aggregator';
$context->conditions = array(
'path' => array(
'values' => array(
'node/*/aggregator*' => 'node/*/aggregator*',
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'commons_core-group_menu' => array(
'module' => 'commons_core',
'delta' => 'group_menu',
'region' => 'sidebar_last',
'weight' => 0,
),
'commons_core-group_members' => array(
'module' => 'commons_core',
'delta' => 'group_members',
'region' => 'sidebar_last',
'weight' => 1,
),
),
),
);
$context->condition_mode = 0;
t('Aggregator');
t('The group aggregator pages');
$export['aggregator-group'] = $context;
return $export;
}