name = 'drupalorg_admin_node_by_user'; $view->description = 'Administrative view of all nodes by a user'; $view->tag = ''; $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', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 1, '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, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'body' => array( 'label' => 'Body', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 1, 'max_length' => '200', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'relationship' => 'none', ), 'created' => array( 'label' => 'Post date', '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, 'date_format' => 'small', 'custom_date_format' => '', 'exclude' => 0, 'id' => 'created', 'table' => 'node', 'field' => 'created', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'delete_node' => array( 'label' => 'Operations', '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, 'text' => '', 'exclude' => 0, 'id' => 'delete_node', 'table' => 'node', 'field' => 'delete_node', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'edit_node' => array( 'label' => 'Edit link', '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, 'text' => '', 'exclude' => 0, 'id' => 'edit_node', 'table' => 'node', 'field' => 'edit_node', 'relationship' => 'none', ), 'status' => array( 'label' => 'Published', '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, 'type' => 'yes-no', 'not' => 0, 'exclude' => 0, 'id' => 'status', 'table' => 'node', 'field' => 'status', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'uid' => array( 'default_action' => 'not found', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => 'Nodes by %1', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'user', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 0, 'id' => 'uid', 'table' => 'users', 'field' => 'uid', 'validate_user_argument_type' => 'either', 'validate_user_roles' => array( '2' => 0, '3' => 0, '5' => 0, '16' => 0, '22' => 0, '20' => 0, '24' => 0, '12' => 0, '28' => 0, '26' => 0, '4' => 0, '14' => 0, '7' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_fixed' => '', 'default_argument_user' => 0, 'default_argument_image_size' => '_original', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'changenotice' => 0, 'organization' => 0, 'packaging_whitelist' => 0, 'image' => 0, 'forum' => 0, 'project_project' => 0, 'project_release' => 0, 'project_issue' => 0, 'book' => 0, 'page' => 0, 'story' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 0, '5' => 0, '38' => 0, '54' => 0, '56' => 0, '6' => 0, '4' => 0, '44' => 0, '46' => 0, '3' => 0, '48' => 0, '50' => 0, '52' => 0, '7' => 0, '2' => 0, '31' => 0, '32' => 0, '33' => 0, '34' => 0, '9' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_node_flag_name' => '*relationship*', 'validate_argument_node_flag_test' => 'flaggable', 'validate_argument_node_flag_id_type' => 'id', 'validate_argument_user_flag_name' => '*relationship*', 'validate_argument_user_flag_test' => 'flaggable', 'validate_argument_user_flag_id_type' => 'id', 'image_size' => array( '_original' => '_original', 'thumbnail' => 'thumbnail', 'preview' => 'preview', ), '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' => 'role', 'role' => array( '3' => 3, '4' => 4, ), )); $handler->override_option('cache', array( 'type' => 'none', )); $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' => 'desc', 'columns' => array( 'title' => 'title', 'body' => 'body', 'created' => 'created', 'delete_node' => 'delete_node', 'edit_node' => 'delete_node', 'status' => 'status', ), 'info' => array( 'title' => array( 'sortable' => 1, 'separator' => '', ), 'body' => array( 'separator' => '', ), 'created' => array( 'sortable' => 1, 'separator' => '', ), 'delete_node' => array( 'separator' => ' | ', ), 'edit_node' => array( 'separator' => '', ), 'status' => array( 'sortable' => 0, 'separator' => '', ), ), 'default' => 'created', 'execution_type' => '2', 'max_performance' => 0, 'display_type' => '1', 'hide_selector' => 0, 'preserve_selection' => 1, 'display_result' => 1, 'merge_single_action' => 0, 'operations' => array( 'node_assign_owner_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'views_bulk_operations_delete_node_action' => array( 'selected' => 1, 'skip_confirmation' => 0, 'label' => '', ), 'node_mass_update-a27b9efabcd054685a549378b174ad11' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'system_message_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'views_bulk_operations_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'views_bulk_operations_script_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'flag_node_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'flag_nodes-9dff6210f8d9a330b5b6f6082cfd3991' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_make_sticky_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_make_unsticky_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_mass_update-c4d3b28efb86fd703619a50b74d43794' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'views_bulk_operations_fields_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', 'settings' => array( 'php_code' => 0, 'show_tokens' => 0, 'display_fields' => array( '_all_' => '_all_', ), ), ), 'views_bulk_operations_taxonomy_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'views_bulk_operations_move_book_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'views_bulk_operations_argument_selector_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_promote_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_mass_update-14de7d028b4bffdf2b4a266562ca18ac' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_mass_update-9c585624b9b3af0b4687d5f97f35e047' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_publish_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'image_operations_rebuild' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'system_goto_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'views_bulk_operations_remove_book_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_unpromote_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_mass_update-8ce21b08bb8e773d10018b484fe4815e' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_save_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'system_send_email_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'flag_nodes-8aca37dae10ac7fc0487afc7937ef144' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_mass_update-0ccad85c1ebe4c9ceada1aa64293b080' => array( 'selected' => 1, 'skip_confirmation' => 0, 'label' => '', ), 'node_unpublish_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), 'node_unpublish_by_keyword_action' => array( 'selected' => 0, 'skip_confirmation' => 0, 'label' => '', ), ), )); $handler = $view->new_display('page', 'Page', 'page_1'); $handler->override_option('path', 'user/%/admin-nodes'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Administer nodes', 'description' => '', 'weight' => '10', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', ));