<?php
// $Id$

/**
 * @file
 *
 */


function incubator_core_activities_views_default_views() {
  $view = new view;
  $view->name = 'core_activities';
  $view->description = '';
  $view->tag = 'default';
  $view->base_table = 'taxonomy_term_data';
  $view->human_name = 'Core Activities';
  $view->core = 7;
  $view->api_version = '3.0-alpha1';
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view->new_display('default', 'Master', 'default');
  $handler->display->display_options['access']['type'] = 'perm';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['query']['options']['query_comment'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'none';
  $handler->display->display_options['pager']['options']['offset'] = '0';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';
  /* Field: Field: Main Image */
  $handler->display->display_options['fields']['field_main_image']['id'] = 'field_main_image';
  $handler->display->display_options['fields']['field_main_image']['table'] = 'field_data_field_main_image';
  $handler->display->display_options['fields']['field_main_image']['field'] = 'field_main_image';
  $handler->display->display_options['fields']['field_main_image']['label'] = '';
  $handler->display->display_options['fields']['field_main_image']['alter']['alter_text'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['make_link'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['absolute'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['external'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['replace_spaces'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['trim_whitespace'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['nl2br'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['word_boundary'] = 1;
  $handler->display->display_options['fields']['field_main_image']['alter']['ellipsis'] = 1;
  $handler->display->display_options['fields']['field_main_image']['alter']['strip_tags'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['trim'] = 0;
  $handler->display->display_options['fields']['field_main_image']['alter']['html'] = 0;
  $handler->display->display_options['fields']['field_main_image']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['field_main_image']['element_default_classes'] = 1;
  $handler->display->display_options['fields']['field_main_image']['hide_empty'] = 0;
  $handler->display->display_options['fields']['field_main_image']['empty_zero'] = 0;
  $handler->display->display_options['fields']['field_main_image']['hide_alter_empty'] = 0;
  $handler->display->display_options['fields']['field_main_image']['click_sort_column'] = 'fid';
  $handler->display->display_options['fields']['field_main_image']['settings'] = array(
    'image_style' => 'incubator_icon',
    'image_link' => 'content',
  );
  $handler->display->display_options['fields']['field_main_image']['field_api_classes'] = 0;
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = '';
  $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
  $handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
  $handler->display->display_options['fields']['name']['alter']['absolute'] = 0;
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 0;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 0;
  $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
  $handler->display->display_options['fields']['name']['alter']['trim'] = 0;
  $handler->display->display_options['fields']['name']['alter']['html'] = 0;
  $handler->display->display_options['fields']['name']['hide_empty'] = 0;
  $handler->display->display_options['fields']['name']['empty_zero'] = 0;
  $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 1;
  /* Filter criterion: Taxonomy vocabulary: Machine name */
  $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  $handler->display->display_options['filters']['machine_name']['value'] = array(
    'activity_type' => 'activity_type',
  );

  /* Display: Text Only */
  $handler = $view->new_display('block', 'Text Only', 'block');
  $handler->display->display_options['defaults']['fields'] = FALSE;
  /* Field: Taxonomy term: Name */
  $handler->display->display_options['fields']['name']['id'] = 'name';
  $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  $handler->display->display_options['fields']['name']['field'] = 'name';
  $handler->display->display_options['fields']['name']['label'] = '';
  $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
  $handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
  $handler->display->display_options['fields']['name']['alter']['absolute'] = 0;
  $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 0;
  $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 0;
  $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
  $handler->display->display_options['fields']['name']['alter']['trim'] = 0;
  $handler->display->display_options['fields']['name']['alter']['html'] = 0;
  $handler->display->display_options['fields']['name']['hide_empty'] = 0;
  $handler->display->display_options['fields']['name']['empty_zero'] = 0;
  $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 1;
  $handler->display->display_options['block_description'] = 'Core Activities : Text Only';
  $handler->display->display_options['block_caching'] = '8';

  /* Display: Text and Images */
  $handler = $view->new_display('block', 'Text and Images', 'block_1');
  $handler->display->display_options['block_description'] = 'Core Activities : Text and Images';
  $handler->display->display_options['block_caching'] = '8';
  $translatables['core_activities'] = array(
    t('Master'),
    t('more'),
    t('Apply'),
    t('Reset'),
    t('Sort by'),
    t('Asc'),
    t('Desc'),
    t('Text Only'),
    t('Core Activities : Text Only'),
    t('Text and Images'),
    t('Core Activities : Text and Images'),
  );
  $views[$view->name] = $view;

  return $views;
}
