1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- /**
- * @file
- * popsu_projets.context.inc
- */
- /**
- * Implements hook_context_default_contexts().
- */
- function popsu_projets_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 = 'popsu-projet-node';
- $context->description = 'Contexte d\'un noeud de type Projet (feature)';
- $context->tag = 'projets-feature';
- $context->conditions = array(
- 'node' => array(
- 'values' => array(
- 'popsu_projet' => 'popsu_projet',
- ),
- 'options' => array(
- 'node_form' => '0',
- ),
- ),
- );
- $context->reactions = array(
- 'block' => array(
- 'blocks' => array(
- 'menu_block-3' => array(
- 'module' => 'menu_block',
- 'delta' => '3',
- 'region' => 'sidebar_first',
- 'weight' => '-23',
- ),
- 'boxes-popsu_menu_trigger' => array(
- 'module' => 'boxes',
- 'delta' => 'popsu_menu_trigger',
- 'region' => 'sidebar_first',
- 'weight' => '-22',
- ),
- 'menu_block-1' => array(
- 'module' => 'menu_block',
- 'delta' => '1',
- 'region' => 'sidebar_first',
- 'weight' => '-21',
- ),
- 'menu_block-5' => array(
- 'module' => 'menu_block',
- 'delta' => '5',
- 'region' => 'sidebar_first',
- 'weight' => '-20',
- ),
- ),
- ),
- 'theme_html' => array(
- 'class' => 'sidebar-double',
- ),
- );
- $context->condition_mode = 0;
- // Translatables
- // Included for use with string extractors like potx.
- t('Contexte d\'un noeud de type Projet (feature)');
- t('projets-feature');
- $export['popsu-projet-node'] = $context;
- return $export;
- }
|