Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 38 lines (34 sloc) 1.02 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
<?php

/**
 * Implementation of hook_context_default_contexts().
 */
function atrium_time_tracker_reports_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 = 'reports_layout';
  $context->description = 'Layout switcher for the reports';
  $context->tag = 'time_tracker';
  $context->conditions = array(
    'path' => array(
      'values' => array(
        'time_tracker/atrium_reports' => 'time_tracker/atrium_reports',
        'time_tracker/reports' => 'time_tracker/reports',
      ),
    ),
  );
  $context->reactions = array(
    'block' => array(
      'blocks' => array(),
      'layout' => 'wide',
    ),
  );
  $context->condition_mode = 0;

  // Translatables
  // Included for use with string extractors like potx.
  t('Layout switcher for the reports');
  t('time_tracker');

  $export['reports_layout'] = $context;
  return $export;
}
Something went wrong with that request. Please try again.