name = 'versioncontrol_repositories'; $view->description = 'VersionControl Repositories'; $view->tag = 'VersionControl Core'; $view->view_php = ''; $view->base_table = 'versioncontrol_repositories'; $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( 'repo_id' => array( 'label' => 'Repository ID', '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, 'set_precision' => FALSE, 'precision' => 0, 'decimal' => '.', 'separator' => ',', 'prefix' => '', 'suffix' => '', 'exclude' => 1, 'id' => 'repo_id', 'table' => 'versioncontrol_repositories', 'field' => 'repo_id', 'relationship' => 'none', ), 'name' => array( 'label' => 'Name', '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, 'exclude' => 0, 'id' => 'name', 'table' => 'versioncontrol_repositories', 'field' => 'name', 'relationship' => 'none', ), 'root' => array( 'label' => 'Root', '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, 'exclude' => 0, 'id' => 'root', 'table' => 'versioncontrol_repositories', 'field' => 'root', 'relationship' => 'none', ), 'updated' => array( 'label' => 'Last Updated', '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, 'date_format' => 'time span', 'custom_date_format' => '', 'exclude' => 0, 'id' => 'updated', 'table' => 'versioncontrol_repositories', 'field' => 'updated', 'relationship' => 'none', ), 'update_method' => array( 'label' => 'Update method', '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, 'exclude' => 0, 'id' => 'update_method', 'table' => 'versioncontrol_repositories', 'field' => 'update_method', 'relationship' => 'none', ), 'manual_fetch' => array( 'label' => 'Log Fetching', '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, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'manual_fetch', 'table' => 'versioncontrol_repositories', 'field' => 'manual_fetch', 'relationship' => 'none', ), 'actions' => array( 'label' => 'Actions', '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, 'exclude' => 0, 'id' => 'actions', 'table' => 'versioncontrol_repositories', 'field' => 'actions', 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'vcs' => array( 'default_action' => 'ignore', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'glossary' => 0, 'limit' => '0', 'case' => 'none', 'path_case' => 'none', 'transform_dash' => 0, 'id' => 'vcs', 'table' => 'versioncontrol_repositories', 'field' => 'vcs', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'arbitrary_data' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'project_project' => 0, 'project_release' => 0, 'company' => 0, 'page' => 0, 'person' => 0, 'story' => 0, ), '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_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('access', array( 'type' => 'perm', 'perm' => 'administer version control systems', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('use_ajax', TRUE); $handler->override_option('items_per_page', 15); $handler->override_option('use_pager', 'mini'); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'asc', 'columns' => array( 'repo_id' => 'repo_id', 'name' => 'name', 'vcs' => 'vcs', 'root' => 'root', 'update_method' => 'update_method', 'actions' => 'actions', 'updated' => 'updated', ), 'info' => array( 'repo_id' => array( 'sortable' => 1, 'separator' => '', ), 'name' => array( 'sortable' => 1, 'separator' => '', ), 'vcs' => array( 'sortable' => 1, 'separator' => '', ), 'root' => array( 'sortable' => 1, 'separator' => '', ), 'update_method' => array( 'separator' => '', ), 'actions' => array( 'separator' => '', ), 'updated' => array( 'sortable' => 1, 'separator' => '', ), ), 'default' => '-1', )); $views[$view->name] = $view; return $views; }