You are here

function _spaces_blog_context_default_contexts in Spaces 6.2

Helper to implemetation of hook_context_default_contexts().

1 call to _spaces_blog_context_default_contexts()
spaces_blog_context_default_contexts in spaces_blog/spaces_blog.features.inc
Implementation of hook_context_default_contexts().

File

spaces_blog/spaces_blog.defaults.inc, line 6

Code

function _spaces_blog_context_default_contexts() {
  $items = array();
  $items[] = array(
    'namespace' => 'spaces',
    'attribute' => 'feature',
    'value' => 'blog',
    'description' => '',
    'node' => array(
      '0' => 'blog',
    ),
    'views' => array(
      '0' => 'spaces_blog',
    ),
    'menu' => 'blog',
    'block' => array(
      'views_spaces_blog_comments-block_1' => array(
        'module' => 'views',
        'delta' => 'spaces_blog_comments-block_1',
        'weight' => 20,
        'region' => 'right',
        'status' => '0',
        'label' => 'spaces_blog_comments: Recent comments',
        'type' => 'context_ui',
      ),
      'views_spaces_blog-block_1' => array(
        'module' => 'views',
        'delta' => 'spaces_blog-block_1',
        'weight' => 21,
        'region' => 'right',
        'status' => '0',
        'label' => 'spaces_blog: Block',
        'type' => 'context_ui',
      ),
    ),
  );
  return $items;
}