12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- /**
- * @file
- * debut_media.context.inc
- */
- /**
- * Implementation of hook_context_default_contexts().
- */
- function debut_media_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 = 'media';
- $context->description = 'Display sidebar block and set breadcrumb.';
- $context->tag = '';
- $context->conditions = array(
- 'path' => array(
- 'values' => array(
- 'media/*' => 'file/*',
- '~media/images' => '~file/images',
- '~media/video' => '~file/video',
- ),
- ),
- );
- $context->reactions = array(
- 'breadcrumb' => 'file',
- 'menu' => 'file',
- );
- $context->condition_mode = 0;
- // Translatables
- // Included for use with string extractors like potx.
- t('Display sidebar block and set breadcrumb.');
- $export['media'] = $context;
- return $export;
- }
|