Skip to content

Commit

Permalink
Added moderartion state in content listing view.
Browse files Browse the repository at this point in the history
  • Loading branch information
arshadkhan53 committed Aug 11, 2020
1 parent cc1f6e1 commit c287f2c
Showing 1 changed file with 175 additions and 62 deletions.
237 changes: 175 additions & 62 deletions config/rewrite/views.view.content.yml
@@ -1,6 +1,7 @@
dependencies:
module:
- content_lock
- content_moderation
- node
- user
display:
Expand Down Expand Up @@ -127,28 +128,6 @@ display:
type: user_name
entity_type: user
entity_field: name
status:
id: status
table: node_field_data
field: status
label: Status
exclude: false
alter:
alter_text: false
element_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
type: boolean
settings:
format: custom
format_custom_true: Published
format_custom_false: Unpublished
plugin_id: field
entity_type: node
entity_field: status
changed:
id: changed
table: node_field_data
Expand Down Expand Up @@ -224,6 +203,69 @@ display:
type_custom_false: ''
not: false
plugin_id: boolean
moderation_state:
id: moderation_state
table: node_field_data
field: moderation_state
relationship: none
group_type: group
admin_label: ''
label: 'Moderation state'
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: value
type: content_moderation_state
settings: { }
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
plugin_id: moderation_state_field
operations:
id: operations
table: node
Expand Down Expand Up @@ -360,70 +402,106 @@ display:
plugin_id: bundle
entity_type: node
entity_field: type
status:
id: status
langcode:
id: langcode
table: node_field_data
field: status
field: langcode
relationship: none
group_type: group
admin_label: ''
operator: '='
value: '1'
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: ''
label: Status
operator_id: langcode_op
label: Language
description: ''
use_operator: false
operator: status_op
identifier: status
operator: langcode_op
identifier: langcode
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
operator_limit_selection: false
operator_list: { }
is_grouped: true
is_grouped: false
group_info:
label: 'Published status'
label: ''
description: ''
identifier: status
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items:
-
title: Published
operator: '='
value: '1'
-
title: Unpublished
operator: '='
value: '0'
-
title: Published
operator: '='
value: '1'
-
title: Unpublished
operator: '='
value: '0'
-
title: Published
operator: '='
value: '1'
-
title: Unpublished
operator: '='
value: '0'
plugin_id: boolean
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
expose:
operator_limit_selection: false
operator_list: { }
moderation_state:
id: moderation_state
table: node_field_data
field: moderation_state
relationship: none
group_type: group
admin_label: ''
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: moderation_state_op
label: 'Moderation state'
description: ''
use_operator: false
operator: moderation_state_op
operator_limit_selection: false
operator_list: { }
identifier: moderation_state
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
editor: '0'
reduce: false
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
entity_field: status
plugin_id: moderation_state_filter
sorts: { }
title: Content
empty:
area_text_custom:
id: area_text_custom
Expand All @@ -450,6 +528,7 @@ display:
- AND
- AND
- AND
- AND
display_extenders: { }
display_plugin: default
display_title: Master
Expand All @@ -465,4 +544,38 @@ display:
- 'user.node_grants:view'
- user.permissions
max-age: 0
tags: { }
tags:
- 'config:workflow_list'
page_1:
display_options:
path: admin/content/node
menu:
type: 'default tab'
title: Content
description: ''
menu_name: admin
weight: -10
context: ''
tab_options:
type: normal
title: Content
description: 'Find and manage content'
menu_name: admin
weight: -10
display_extenders: { }
display_plugin: page
display_title: Page
id: page_1
position: 1
cache_metadata:
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user
- 'user.node_grants:view'
- user.permissions
max-age: 0
tags:
- 'config:workflow_list'

0 comments on commit c287f2c

Please sign in to comment.