name = 'admin_content_node'; $view->description = 'View, edit, and delete your site\'s content.'; $view->tag = 'admin'; $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( 'uid' => array( 'label' => 'User', 'required' => 1, 'id' => 'uid', 'table' => 'node_revisions', 'field' => 'uid', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'title' => array( 'label' => 'Title', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'type' => array( 'label' => 'Type', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 0, 'exclude' => 0, 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'name' => array( 'label' => 'Author', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_user' => 1, 'overwrite_anonymous' => 0, 'anonymous_text' => '', 'exclude' => 0, 'id' => 'name', 'table' => 'users', 'field' => 'name', 'relationship' => 'none', ), 'status' => array( 'label' => 'Published', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'type' => 'yes-no', 'not' => 0, 'exclude' => 0, 'id' => 'status', 'table' => 'node', 'field' => 'status', 'relationship' => 'none', ), 'changed' => array( 'label' => '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' => 'small', 'custom_date_format' => '', 'exclude' => 0, 'id' => 'changed', 'table' => 'node', 'field' => 'changed', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'edit_node' => array( 'label' => '', '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, 'text' => '', 'exclude' => 0, 'id' => 'edit_node', 'table' => 'node', 'field' => 'edit_node', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'delete_node' => array( 'label' => '', '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, 'text' => '', 'exclude' => 0, 'id' => 'delete_node', 'table' => 'node', 'field' => 'delete_node', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'created' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'created', 'table' => 'node', 'field' => 'created', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'title' => array( 'operator' => 'contains', 'value' => '', 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'title_op', 'identifier' => 'title', 'label' => 'Title', 'optional' => 1, 'remember' => 0, ), 'case' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'type' => array( 'operator' => 'in', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'type_op', 'identifier' => 'type', 'label' => 'Type', 'optional' => 1, 'single' => 1, 'remember' => 1, 'reduce' => 0, ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'uid' => array( 'operator' => 'in', 'value' => '', 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'uid_op', 'identifier' => 'name', 'label' => 'Author', 'optional' => 1, 'remember' => 0, 'reduce' => 0, ), 'id' => 'uid', 'table' => 'users', 'field' => 'uid', 'override' => array( 'button' => 'Override', ), 'relationship' => 'uid', ), 'status' => array( 'operator' => '=', 'value' => 'All', 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'operator' => '', 'identifier' => 'status', 'label' => 'Published', 'optional' => 1, 'remember' => 1, ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'relationship' => 'none', ), 'vid' => array( 'operator' => 'in', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'vid_op', 'identifier' => 'vid', 'label' => 'Vocabulary', 'optional' => 1, 'single' => 1, 'remember' => 1, 'reduce' => 0, ), 'id' => 'vid', 'table' => 'term_data', 'field' => 'vid', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'perm', 'perm' => 'administer nodes', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Content'); $handler->override_option('use_ajax', TRUE); $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' => 1, 'order' => 'desc', 'columns' => array( 'title' => 'title', 'type' => 'type', 'name' => 'name', 'status' => 'status', 'changed' => 'changed', 'edit_node' => 'edit_node', 'delete_node' => 'delete_node', ), 'info' => array( 'title' => array( 'sortable' => 1, 'separator' => '', ), 'type' => array( 'sortable' => 1, 'separator' => '', ), 'name' => array( 'sortable' => 1, 'separator' => '', ), 'status' => array( 'sortable' => 1, 'separator' => '', ), 'changed' => array( 'sortable' => 1, 'separator' => '', ), 'edit_node' => array( 'separator' => '', ), 'delete_node' => array( 'separator' => '', ), ), 'default' => 'changed', 'execution_type' => '2', 'display_type' => '0', 'hide_select_all' => 0, 'skip_confirmation' => 0, 'display_result' => 1, 'merge_single_action' => 0, 'selected_operations' => array( 'node_assign_owner_action' => 'node_assign_owner_action', 'views_bulk_operations_delete_node_action' => 'views_bulk_operations_delete_node_action', 'node_make_sticky_action' => 'node_make_sticky_action', 'node_make_unsticky_action' => 'node_make_unsticky_action', 'views_bulk_operations_fields_action' => 'views_bulk_operations_fields_action', 'views_bulk_operations_taxonomy_action' => 'views_bulk_operations_taxonomy_action', 'node_promote_action' => 'node_promote_action', 'node_publish_action' => 'node_publish_action', 'node_unpromote_action' => 'node_unpromote_action', 'node_unpublish_action' => 'node_unpublish_action', 'node_unpublish_by_keyword_action' => 'node_unpublish_by_keyword_action', 'node_mass_update:a27b9efabcd054685a549378b174ad11' => 0, 'system_message_action' => 0, 'views_bulk_operations_action' => 0, 'views_bulk_operations_script_action' => 0, 'node_mass_update:c4d3b28efb86fd703619a50b74d43794' => 0, 'views_bulk_operations_argument_selector_action' => 0, 'node_mass_update:14de7d028b4bffdf2b4a266562ca18ac' => 0, 'node_mass_update:9c585624b9b3af0b4687d5f97f35e047' => 0, 'image_operations_rebuild' => 0, 'system_goto_action' => 0, 'node_mass_update:8ce21b08bb8e773d10018b484fe4815e' => 0, 'node_save_action' => 0, 'system_send_email_action' => 0, 'node_mass_update:0ccad85c1ebe4c9ceada1aa64293b080' => 0, ), 'views_bulk_operations_fields_action' => array( 'php_code' => 0, 'display_fields' => array( 'field_whatever' => 'field_whatever', ), '_error_element_base' => 'style_options][views_bulk_operations_fields_action][', ), )); $handler = $view->new_display('system', 'System', 'system_1'); $handler->override_option('path', 'admin/content/node');