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 7612af64bd..719cbee383 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 @@ -284,71 +284,6 @@ display: entity_type: content_moderation_state entity_field: moderation_state plugin_id: field - workflow: - id: workflow - table: content_moderation_state_field_data - field: workflow - relationship: moderation_state - group_type: group - admin_label: '' - label: Workflow - 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 - click_sort_column: target_id - type: entity_reference_label - settings: - link: true - group_column: target_id - 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: content_moderation_state - entity_field: workflow - plugin_id: field changed: id: changed table: node_field_data @@ -503,10 +438,10 @@ display: plugin_id: bundle entity_type: node entity_field: type - langcode: - id: langcode + moderation_state: + id: moderation_state table: node_field_data - field: langcode + field: moderation_state relationship: none group_type: group admin_label: '' @@ -515,12 +450,12 @@ display: group: 1 exposed: true expose: - operator_id: langcode_op - label: Language + operator_id: moderation_state_op + label: 'Moderation state' description: '' use_operator: false - operator: langcode_op - identifier: langcode + operator: moderation_state_op + identifier: moderation_state required: false remember: false multiple: false @@ -541,22 +476,12 @@ 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 - moderation_state: - id: moderation_state + plugin_id: moderation_state_filter + langcode: + id: langcode table: node_field_data - field: moderation_state + field: langcode relationship: none group_type: group admin_label: '' @@ -565,12 +490,12 @@ display: group: 1 exposed: true expose: - operator_id: moderation_state_op - label: 'Moderation state' + operator_id: langcode_op + label: Language description: '' use_operator: false - operator: moderation_state_op - identifier: moderation_state + operator: langcode_op + identifier: langcode required: false remember: false multiple: false @@ -591,8 +516,18 @@ 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: moderation_state_filter sorts: { } title: 'Moderated content' empty: diff --git a/core/modules/content_moderation/content_moderation.info.yml b/core/modules/content_moderation/content_moderation.info.yml index b25c7ce0f1..f13deee9bb 100644 --- a/core/modules/content_moderation/content_moderation.info.yml +++ b/core/modules/content_moderation/content_moderation.info.yml @@ -7,3 +7,4 @@ package: Core (Experimental) configure: entity.workflow.collection dependencies: - workflows + - views diff --git a/core/modules/content_moderation/content_moderation.links.task.yml b/core/modules/content_moderation/content_moderation.links.task.yml index d57586c5bd..bfe3085b3d 100644 --- a/core/modules/content_moderation/content_moderation.links.task.yml +++ b/core/modules/content_moderation/content_moderation.links.task.yml @@ -8,7 +8,7 @@ content_moderation.content: parent_id: system.admin_content content_moderation.moderated_content: - title: 'Moderate content' + title: 'Moderated content' route_name: view.moderated_content.page_1 parent_id: system.admin_content weight: 1