diff --git a/core/modules/content_moderation/config/optional/views.view.moderated_content.yml b/core/modules/content_moderation/config/optional/views.view.moderated_content.yml index 719cbee..169cc72 100644 --- a/core/modules/content_moderation/config/optional/views.view.moderated_content.yml +++ b/core/modules/content_moderation/config/optional/views.view.moderated_content.yml @@ -7,23 +7,34 @@ dependencies: - user id: moderated_content label: 'Moderated content' -module: node -description: 'Find moderated content.' -tag: default -base_table: node_field_data -base_field: nid +module: views +description: 'Find and manage content.' +tag: '' +base_table: node_field_revision +base_field: vid core: 8.x display: default: + display_plugin: default + id: default + display_title: Master + position: 0 display_options: access: type: perm options: - perm: 'access content overview' + perm: 'view all revisions' cache: type: tag + options: { } query: type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } exposed_form: type: basic options: @@ -38,11 +49,23 @@ display: type: full options: items_per_page: 50 + offset: 0 + id: 0 + total_pages: null tags: previous: '‹ Previous' next: 'Next ›' first: '« First' last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 style: type: table options: @@ -59,9 +82,7 @@ display: type: type name: name moderation_state: moderation_state - workflow: workflow changed: changed - operations: operations info: title: sortable: true @@ -83,15 +104,8 @@ display: align: '' separator: '' empty_column: false - responsive: priority-low - moderation_state: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false responsive: '' - workflow: + moderation_state: sortable: true default_sort_order: asc align: '' @@ -104,42 +118,64 @@ display: align: '' separator: '' empty_column: false - responsive: priority-low - operations: - align: '' - separator: '' - empty_column: false responsive: '' default: changed - empty_table: true + empty_table: false row: type: fields fields: title: id: title - table: node_field_data + table: node_field_revision field: title - label: Title - exclude: false + entity_type: node + entity_field: title alter: alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + settings: + link_to_entity: false + plugin_id: field + relationship: none + group_type: group + admin_label: '' + label: Title + exclude: false + element_type: '' element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' element_default_classes: true empty: '' - hide_empty: false - empty_zero: false hide_alter_empty: true - entity_type: node - entity_field: title + click_sort_column: value type: string - settings: - link_to_entity: true - plugin_id: field + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false type: id: type table: node_field_data field: type - relationship: none + relationship: vid group_type: group admin_label: '' label: 'Content type' @@ -205,23 +241,69 @@ display: table: users_field_data field: name relationship: uid + group_type: group + admin_label: '' label: Author exclude: false alter: alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' element_default_classes: true empty: '' hide_empty: false empty_zero: false hide_alter_empty: true - plugin_id: field + click_sort_column: value type: user_name + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false entity_type: user entity_field: name + plugin_id: field moderation_state: id: moderation_state - table: content_moderation_state_field_data + table: content_moderation_state_field_revision field: moderation_state relationship: moderation_state group_type: group @@ -286,34 +368,12 @@ display: plugin_id: field changed: id: changed - table: node_field_data + table: node_field_revision field: changed - label: Updated - exclude: false - alter: - alter_text: false - element_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - type: timestamp - settings: - date_format: short - custom_date_format: '' - timezone: '' - plugin_id: field - entity_type: node - entity_field: changed - operations: - id: operations - table: node - field: operations relationship: none group_type: group admin_label: '' - label: Operations + label: Updated exclude: false alter: alter_text: false @@ -333,8 +393,8 @@ display: target: '' nl2br: false max_length: 0 - word_boundary: true - ellipsis: true + word_boundary: false + ellipsis: false more_link: false more_link_text: '' more_link_path: '' @@ -354,12 +414,66 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - destination: true - plugin_id: entity_operations + click_sort_column: value + type: timestamp + settings: + date_format: short + custom_date_format: '' + timezone: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: changed + plugin_id: field filters: + latest_revision: + id: latest_revision + table: node_revision + field: latest_revision + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: node + plugin_id: latest_revision title: id: title - table: node_field_data + table: node_field_revision field: title relationship: none group_type: group @@ -394,14 +508,14 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: string entity_type: node entity_field: title + plugin_id: string type: id: type table: node_field_data field: type - relationship: none + relationship: vid group_type: group admin_label: '' operator: in @@ -435,12 +549,12 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: bundle entity_type: node entity_field: type + plugin_id: bundle moderation_state: id: moderation_state - table: node_field_data + table: node_field_revision field: moderation_state relationship: none group_type: group @@ -480,7 +594,7 @@ display: plugin_id: moderation_state_filter langcode: id: langcode - table: node_field_data + table: node_field_revision field: langcode relationship: none group_type: group @@ -516,98 +630,90 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: language entity_type: node entity_field: langcode - status_extra: - id: status_extra - table: node_field_data - field: status_extra - operator: '=' - value: false - plugin_id: node_status - group: 1 - entity_type: node + plugin_id: language sorts: { } title: 'Moderated content' + header: { } + footer: { } empty: area_text_custom: id: area_text_custom table: views field: area_text_custom + relationship: none + group_type: group + admin_label: '' empty: true - content: 'No content available.' + tokenize: false + content: 'No moderated content available.' plugin_id: text_custom - arguments: { } relationships: - uid: - id: uid - table: node_field_data - field: uid - admin_label: author - required: true - plugin_id: standard moderation_state: id: moderation_state - table: node_field_data + table: node_field_revision field: moderation_state relationship: none group_type: group admin_label: 'Content moderation state' - required: true + required: false entity_type: node plugin_id: standard - show_admin_links: false + vid: + id: vid + table: node_field_revision + field: vid + relationship: none + group_type: group + admin_label: 'Get the actual content from a content revision.' + required: false + entity_type: node + entity_field: vid + plugin_id: standard + uid: + id: uid + table: node_field_revision + field: uid + relationship: none + group_type: group + admin_label: User + required: false + entity_type: node + entity_field: uid + plugin_id: standard + arguments: { } + display_extenders: { } filter_groups: operator: AND groups: 1: AND - display_extenders: { } - display_plugin: default - display_title: Master - id: default - position: 0 cache_metadata: + max-age: 0 contexts: - 'languages:language_content' - 'languages:language_interface' - url - url.query_args - - user - 'user.node_grants:view' - user.permissions - max-age: 0 tags: { } - page_1: - display_options: - path: admin/content/node/moderate - menu: - type: none - title: 'Moderated content' - description: '' - expanded: false - parent: system.admin_content - weight: 0 - context: '0' - menu_name: admin - tab_options: - type: none - title: 'Moderated content' - description: 'Find and manage content' - weight: -10 - display_extenders: { } + moderated_content: display_plugin: page - display_title: Page - id: page_1 + id: moderated_content + display_title: 'Moderated content' position: 1 + display_options: + display_extenders: { } + path: admin/content/node/moderate + display_description: '' cache_metadata: + max-age: 0 contexts: - 'languages:language_content' - 'languages:language_interface' - url - url.query_args - - user - 'user.node_grants:view' - user.permissions - max-age: 0 tags: { }