views.view.test_search.yml 6.15 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
langcode: en
status: true
dependencies:
  module:
    - node
    - user
id: test_search
label: 'Search Test'
module: views
description: 'Test view for Search integration'
tag: ''
12
base_table: node
13
base_field: nid
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
core: 8.x
display:
  default:
    display_plugin: default
    id: default
    display_title: Master
    position: 1
    display_options:
      access:
        type: perm
        options:
          perm: 'access content'
      cache:
        type: none
        options: {  }
      query:
        type: views_query
        options:
          disable_sql_rewrite: false
          distinct: false
34
          replica: false
35
          query_comment: ''
36 37 38 39 40 41 42 43 44 45 46 47 48 49
          query_tags: {  }
      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
      pager:
        type: none
        options:
50
          items_per_page: 0
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
          offset: 0
      style:
        type: default
        options:
          grouping: {  }
          row_class: ''
          default_row_class: true
      row:
        type: fields
      fields:
        title:
          id: title
          table: node_field_data
          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
76
          link_to_node: true
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
          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_alter_empty: true
92
          plugin_id: node
93 94
          entity_type: node
          entity_field: title
95 96
      filters:
        status:
97
          value: true
98 99 100 101 102
          table: node_field_data
          field: status
          id: status
          expose:
            operator: ''
103
          group: 1
104
          plugin_id: boolean
105 106
          entity_type: node
          entity_field: status
107 108 109 110 111 112 113 114 115 116 117 118 119
      sorts:
        created:
          id: created
          table: node_field_data
          field: created
          order: DESC
          relationship: none
          group_type: group
          admin_label: ''
          exposed: false
          expose:
            label: ''
          granularity: second
120
          plugin_id: date
121 122
          entity_type: node
          entity_field: created
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
      title: ''
      header: {  }
      footer: {  }
      empty: {  }
      relationships: {  }
      arguments: {  }
  page_1:
    display_plugin: page
    id: page_1
    display_title: 'Filter Page'
    position: 1
    display_options:
      display_description: ''
      filters:
        status:
138
          value: true
139 140 141 142 143
          table: node_field_data
          field: status
          id: status
          expose:
            operator: ''
144
          group: 1
145
          plugin_id: boolean
146 147
          entity_type: node
          entity_field: status
148 149 150 151 152 153 154 155 156
        keys:
          id: keys
          table: node_search_index
          field: keys
          relationship: none
          group_type: group
          admin_label: ''
          operator: optional
          value: pizza
157
          group: 1
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
          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
179
            remember: false
180 181 182 183 184 185 186 187 188 189 190 191 192 193
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
          plugin_id: search_keywords
      defaults:
        filters: false
        filter_groups: false
        title: false
      filter_groups:
        operator: AND
        groups:
          1: AND
      path: test-filter
      title: 'Filter Page'
194 195 196 197 198 199 200 201 202
  page_2:
    display_plugin: page
    id: page_2
    display_title: 'Arg Page'
    position: 1
    display_options:
      display_description: ''
      filters:
        status:
203
          value: true
204 205 206 207 208 209
          table: node_field_data
          field: status
          id: status
          expose:
            operator: ''
          group: 1
210
          plugin_id: boolean
211 212
          entity_type: node
          entity_field: status
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
      defaults:
        filters: false
        filter_groups: false
        arguments: false
        title: false
      filter_groups:
        operator: AND
        groups:
          1: AND
      path: test-arg/%
      arguments:
        keys:
          id: keys
          table: node_search_index
          field: keys
          relationship: none
          group_type: group
          admin_label: ''
          default_action: 'not found'
          exception:
            value: all
            title_enable: false
            title: All
          title_enable: false
          title: ''
          default_argument_type: fixed
          default_argument_options:
            argument: ''
          default_argument_skip_url: false
          summary_options:
            base_path: ''
            count: true
            items_per_page: 25
            separator: ''
            override: false
            inline: false
          summary:
            sort_order: asc
            number_of_records: 0
            format: unformatted_summary
          specify_validation: false
          validate:
            type: none
            fail: 'not found'
          validate_options: {  }
          plugin_id: search
      title: 'Arg Page'