<?php
/**
 * @file
 * popsu_projets_europe.context.inc
 */

/**
 * Implements hook_context_default_contexts().
 */
function popsu_projets_europe_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-projets-europe-node';
  $context->description = 'Contexte d\'un noeud de type Projet POPSU Europe (feature)';
  $context->tag = 'projets-europe-feature';
  $context->conditions = array(
    'node' => array(
      'values' => array(
        'popsu_projet_europe' => 'popsu_projet_europe',
      ),
      'options' => array(
        'node_form' => '0',
      ),
    ),
  );
  $context->reactions = array(
    'block' => array(
      'blocks' => array(
        'menu_block-6' => array(
          'module' => 'menu_block',
          'delta' => '6',
          'region' => 'sidebar_first',
          'weight' => '-10',
        ),
      ),
    ),
    'theme_html' => array(
      'class' => 'context-popsu-europe',
    ),
  );
  $context->condition_mode = 0;

  // Translatables
  // Included for use with string extractors like potx.
  t('Contexte d\'un noeud de type Projet POPSU Europe (feature)');
  t('projets-europe-feature');
  $export['popsu-projets-europe-node'] = $context;

  return $export;
}
