name = 'project_package_items'; $view->description = 'View of all release items included in a given package release'; $view->tag = 'Project package'; $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('relationships', array( 'package_nid' => array( 'label' => 'Package release node', 'required' => 1, 'id' => 'package_nid', 'table' => 'project_package_local_release_item', 'field' => 'package_nid', 'relationship' => 'none', ), 'pid' => array( 'label' => 'Project node', 'required' => 1, 'id' => 'pid', 'table' => 'project_release_nodes', 'field' => 'pid', 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'title' => array( 'label' => 'Project', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'pid', ), 'version' => array( 'label' => 'Version', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'version', 'table' => 'project_release_nodes', 'field' => 'version', 'relationship' => 'none', ), 'update_status' => array( 'label' => 'Status', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'update_status_icon' => 0, 'exclude' => 0, 'id' => 'update_status', 'table' => 'project_release_nodes', 'field' => 'update_status', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'update_status' => array( 'order' => 'DESC', 'id' => 'update_status', 'table' => 'project_release_nodes', 'field' => 'update_status', 'relationship' => 'none', ), 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'pid', ), )); $handler->override_option('arguments', array( 'nid' => array( 'default_action' => 'not found', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => 'Releases contained in %1', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'node', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 0, 'id' => 'nid', 'table' => 'node', 'field' => 'nid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array(), 'relationship' => 'package_nid', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'project_release' => 'project_release', ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array(), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_project_term_vocabulary' => array(), 'validate_argument_project_term_argument_type' => 'tid', 'validate_argument_project_term_argument_action_top_without' => 'pass', 'validate_argument_project_term_argument_action_top_with' => 'pass', 'validate_argument_project_term_argument_action_child' => 'pass', 'validate_argument_php' => '', ), )); $handler->override_option('filters', array( 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('items_per_page', 0); $handler->override_option('style_plugin', 'project_release_table'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 0, 'order' => 'asc', 'columns' => array( 'title' => 'title', 'version' => 'version', 'update_status' => 'update_status', ), 'info' => array( 'title' => array( 'sortable' => 1, 'separator' => '', ), 'version' => array( 'sortable' => 1, 'separator' => '', ), 'update_status' => array( 'sortable' => 1, 'separator' => '', ), ), 'default' => '-1', ));