Skip to content

Commit

Permalink
ACMS-4403: Restore the remove search views in content types modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshreeputra committed Jan 15, 2025
1 parent 4fcc253 commit 0f7be20
Show file tree
Hide file tree
Showing 4 changed files with 1,458 additions and 0 deletions.
357 changes: 357 additions & 0 deletions modules/acquia_cms_article/config/optional/views.view.articles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,357 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_article_type
- search_api.index.content
- views.view.articles_fallback
module:
- acquia_cms_search
- search_api
- user
id: articles
label: Articles
module: views
description: ''
tag: ''
base_table: search_api_index_content
base_field: search_api_id
display:
default:
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
title: Articles
fields:
field_article_type:
id: field_article_type
table: search_api_index_content
field: field_article_type
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: null
plugin_id: search_api_field
label: ''
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: { }
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
field_rendering: true
fallback_handler: search_api_entity
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
display_methods: { }
pager:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
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: 5
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: search_api_tag
options: { }
empty:
view_fallback:
id: view_fallback
table: views
field: view_fallback
relationship: none
group_type: group
admin_label: ''
plugin_id: view_fallback
empty: true
view_to_insert: 'articles_fallback:default'
inherit_arguments: 0
main_listing_pages_view:
id: main_listing_pages_view
table: views
field: main_listing_pages_view
relationship: none
group_type: group
admin_label: ''
plugin_id: main_listing_pages_view
empty: true
tokenize: 0
content:
value: 'Sorry, no content found. Please try to search with different keywords.'
format: filtered_html
sorts:
created:
id: created
table: search_api_index_content
field: created
relationship: none
group_type: group
admin_label: ''
plugin_id: search_api
order: DESC
expose:
label: ''
field_identifier: created
exposed: false
arguments: { }
filters:
published:
id: published
table: search_api_index_content
field: published
relationship: none
group_type: group
admin_label: ''
plugin_id: search_api_boolean
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
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: { }
type:
id: type
table: search_api_index_content
field: type
relationship: none
group_type: group
admin_label: ''
plugin_id: search_api_options
operator: or
value:
article: article
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: { }
reduce_duplicates: false
search_api_language:
id: search_api_language
table: search_api_index_content
field: search_api_language
relationship: none
group_type: group
admin_label: ''
plugin_id: search_api_language
operator: in
value:
'***LANGUAGE_language_interface***': '***LANGUAGE_language_interface***'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: { }
filter_groups:
operator: AND
groups:
1: AND
style:
type: default
row:
type: search_api
query:
type: search_api_query
options:
bypass_access: false
skip_access: false
preserve_facet_query_args: false
relationships: { }
use_ajax: false
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.path
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_article_type'
- 'config:search_api.index.content'
- 'search_api_list:content'
page:
id: page
display_title: Page
display_plugin: page
position: 1
display_options:
cache:
type: search_api_none
options: { }
defaults:
cache: false
exposed_block: true
display_extenders: { }
path: articles
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.path
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_article_type'
- 'config:search_api.index.content'
- 'search_api_list:content'
Loading

0 comments on commit 0f7be20

Please sign in to comment.