$view = new view;
$view->name = 'admin_content_commonspot_import';
$view->description = 'Run updates on feed imported commonspot nodes';
$view->tag = 'programmer';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => 'Title',
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Override',
    ),
  ),
  'timestamp' => array(
    'label' => 'New?',
    'link_to_node' => 0,
    'comments' => 0,
    'exclude' => 0,
    'id' => 'timestamp',
    'table' => 'history_user',
    'field' => 'timestamp',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'label' => 'Type',
    'link_to_node' => 0,
    'exclude' => 0,
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'name' => array(
    'label' => 'Author',
    'link_to_user' => 1,
    'exclude' => 0,
    'id' => 'name',
    'table' => 'users',
    'field' => 'name',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'status' => array(
    'label' => 'Published',
    'type' => 'yes-no',
    'not' => 0,
    'exclude' => 0,
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'edit_node' => array(
    'label' => 'Edit',
    'text' => '',
    'exclude' => 0,
    'id' => 'edit_node',
    'table' => 'node',
    'field' => 'edit_node',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'changed' => array(
    'order' => 'DESC',
    'granularity' => 'second',
    'id' => 'changed',
    'table' => 'node',
    'field' => 'changed',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'csf1' => 'csf1',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => 'type_op',
      'label' => 'Node: Type',
      'use_operator' => 0,
      'identifier' => 'type',
      'optional' => 1,
      'single' => 1,
      'remember' => 0,
      'reduce' => 0,
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'perm',
  'perm' => 'administer nodes',
));
$handler->override_option('title', 'Content');
$handler->override_option('empty', 'There are no objects satisfying the filter settings. Try changing them to get some results.');
$handler->override_option('empty_format', '1');
$handler->override_option('items_per_page', 50);
$handler->override_option('use_pager', '1');
$handler->override_option('style_plugin', 'bulk');
$handler->override_option('style_options', array(
  'grouping' => '',
  'override' => 1,
  'sticky' => 0,
  'order' => 'asc',
  'columns' => array(
    'title' => 'title',
    'timestamp' => 'title',
    'type' => 'type',
    'name' => 'name',
    'status' => 'status',
    'edit_node' => 'edit_node',
  ),
  'info' => array(
    'title' => array(
      'sortable' => 1,
      'separator' => ' ',
    ),
    'timestamp' => array(
      'separator' => '',
    ),
    'type' => array(
      'sortable' => 1,
      'separator' => '',
    ),
    'name' => array(
      'sortable' => 1,
      'separator' => '',
    ),
    'status' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'edit_node' => array(
      'separator' => '',
    ),
  ),
  'default' => '-1',
  'execution_type' => '1',
  'display_type' => '0',
  'skip_confirmation' => 0,
  'display_result' => 1,
  'merge_single_action' => 1,
  'selected_operations' => array(
    'ea76c33c391622accd5be62c78ed8a93' => 'ea76c33c391622accd5be62c78ed8a93',
    'd842f8bf4c4d3e21e9110bd0b3529ea3' => 'd842f8bf4c4d3e21e9110bd0b3529ea3',
    '0e8bc1a2ad0a57f22ad299f4164bc91f' => '0e8bc1a2ad0a57f22ad299f4164bc91f',
    '8d10f53d5b7af14a25cf7ffc9d01b333' => '8d10f53d5b7af14a25cf7ffc9d01b333',
    '4553e8461311eef3b0281c58cfd531d5' => '4553e8461311eef3b0281c58cfd531d5',
    '8174806d6a90c624029803c69e3df54d' => '8174806d6a90c624029803c69e3df54d',
    '7a9a34556136a4e6d403cacfe0573d64' => '7a9a34556136a4e6d403cacfe0573d64',
    '2590ff43ab3648737ccd1865cd76084e' => '2590ff43ab3648737ccd1865cd76084e',
    'd0746f09756440a699f4a721c7683290' => 'd0746f09756440a699f4a721c7683290',
    'b26a99d8d89001e5998b3651fa7b10ba' => 'b26a99d8d89001e5998b3651fa7b10ba',
    '339302ab7ef2adc1a3a9844e15e76967' => '339302ab7ef2adc1a3a9844e15e76967',
    'e865a3ac236dc71e38301049a0f356e8' => 'e865a3ac236dc71e38301049a0f356e8',
    '2fd6d151e013faf3099170a3bb1284d4' => '2fd6d151e013faf3099170a3bb1284d4',
    'c240117f80fc27a29633c29df38c3802' => 'c240117f80fc27a29633c29df38c3802',
    'd8fc611ebac486388a7f0bef1d4d8115' => 'd8fc611ebac486388a7f0bef1d4d8115',
    'c1c34a331fb39c6ad9130862698bd354' => 'c1c34a331fb39c6ad9130862698bd354',
    'bf6b6cafe38816388f6606b93b881f16' => 0,
    'e52c7d4b8ccc8fd7b8f7a59ca8e0e013' => 0,
    'e620912b6bfc590784848cf00c05b42f' => 0,
    'ffd4dd7c59102655f73303c040b08914' => 0,
    '0477aaf91878af69b08470773a1490d4' => 0,
  ),
));
$handler = $view->new_display('page', 'Page', 'page');
$handler->override_option('path', 'admin/content/node_importer');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Importer Operations',
  'description' => 'Bulk operations for Commonspot Site Import',
  'weight' => '0',
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
));

  • No labels