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

/**
 * Implements hook_context_default_contexts().
 */
function abbey_lodge_invoices_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 = 'invoice_email';
  $context->description = '';
  $context->tag = '';
  $context->conditions = array(
    'node' => array(
      'values' => array(
        'abbey_lodge_invoice' => 'abbey_lodge_invoice',
      ),
      'options' => array(
        'node_form' => '0',
      ),
    ),
  );
  $context->reactions = array(
    'block' => array(
      'blocks' => array(
        'abbey_lodge_invoices-abbey_lodge_invoice_email' => array(
          'module' => 'abbey_lodge_invoices',
          'delta' => 'abbey_lodge_invoice_email',
          'region' => 'content',
          'weight' => '-10',
        ),
      ),
    ),
  );
  $context->condition_mode = 0;
  $export['invoice_email'] = $context;

  return $export;
}
