You are here

views.view.uc_products.yml in Ubercart 8.4

uc_product/config/install/views.view.uc_products.yml

File

uc_product/config/install/views.view.uc_products.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - field.storage.node.uc_product_image
  6. - system.menu.admin
  7. module:
  8. - image
  9. - node
  10. - uc_product
  11. - user
  12. enforced:
  13. module:
  14. - uc_product
  15. _core:
  16. default_config_hash: jjB70BGc_-TpY27jvzPQtswSibJUs9Mq4Kiy_2PrHt0
  17. id: uc_products
  18. label: Products
  19. module: views
  20. description: 'Find and manage Ubercart products.'
  21. tag: Ubercart
  22. base_table: node_field_data
  23. base_field: nid
  24. core: 8.x
  25. display:
  26. default:
  27. display_plugin: default
  28. id: default
  29. display_title: Master
  30. position: 0
  31. display_options:
  32. access:
  33. type: perm
  34. options:
  35. perm: 'administer products'
  36. cache:
  37. type: none
  38. options: { }
  39. query:
  40. type: views_query
  41. options:
  42. disable_sql_rewrite: false
  43. distinct: false
  44. replica: false
  45. query_comment: ''
  46. query_tags: { }
  47. exposed_form:
  48. type: basic
  49. options:
  50. submit_button: Apply
  51. reset_button: false
  52. reset_button_label: Reset
  53. exposed_sorts_label: 'Sort by'
  54. expose_sort_order: true
  55. sort_asc_label: Asc
  56. sort_desc_label: Desc
  57. pager:
  58. type: full
  59. options:
  60. items_per_page: 50
  61. offset: 0
  62. id: 0
  63. total_pages: null
  64. tags:
  65. previous: '‹ previous'
  66. next: 'next ›'
  67. first: '« first'
  68. last: 'last »'
  69. expose:
  70. items_per_page: false
  71. items_per_page_label: 'Items per page'
  72. items_per_page_options: '5, 10, 25, 50'
  73. items_per_page_options_all: false
  74. items_per_page_options_all_label: '- All -'
  75. offset: false
  76. offset_label: Offset
  77. quantity: 9
  78. style:
  79. type: table
  80. options:
  81. grouping: { }
  82. row_class: ''
  83. default_row_class: true
  84. override: true
  85. sticky: true
  86. caption: ''
  87. summary: ''
  88. description: ''
  89. columns:
  90. uc_product_image: uc_product_image
  91. title: title
  92. display_price: display_price
  93. changed: changed
  94. info:
  95. uc_product_image:
  96. align: views-align-center
  97. separator: ''
  98. empty_column: false
  99. responsive: ''
  100. title:
  101. sortable: true
  102. default_sort_order: asc
  103. align: ''
  104. separator: ''
  105. empty_column: false
  106. responsive: ''
  107. display_price:
  108. sortable: true
  109. default_sort_order: desc
  110. align: ''
  111. separator: ''
  112. empty_column: false
  113. responsive: ''
  114. changed:
  115. sortable: true
  116. default_sort_order: desc
  117. align: ''
  118. separator: ''
  119. empty_column: false
  120. responsive: ''
  121. default: changed
  122. empty_table: true
  123. row:
  124. type: fields
  125. fields:
  126. uc_product_image:
  127. id: uc_product_image
  128. table: node__uc_product_image
  129. field: uc_product_image
  130. relationship: none
  131. group_type: group
  132. admin_label: ''
  133. label: Image
  134. exclude: false
  135. alter:
  136. alter_text: false
  137. text: ''
  138. make_link: false
  139. path: ''
  140. absolute: false
  141. external: false
  142. replace_spaces: false
  143. path_case: none
  144. trim_whitespace: false
  145. alt: ''
  146. rel: ''
  147. link_class: ''
  148. prefix: ''
  149. suffix: ''
  150. target: ''
  151. nl2br: false
  152. max_length: 0
  153. word_boundary: true
  154. ellipsis: true
  155. more_link: false
  156. more_link_text: ''
  157. more_link_path: ''
  158. strip_tags: false
  159. trim: false
  160. preserve_tags: ''
  161. html: false
  162. element_type: ''
  163. element_class: ''
  164. element_label_type: ''
  165. element_label_class: ''
  166. element_label_colon: true
  167. element_wrapper_type: ''
  168. element_wrapper_class: ''
  169. element_default_classes: true
  170. empty: ''
  171. hide_empty: false
  172. empty_zero: false
  173. hide_alter_empty: true
  174. click_sort_column: target_id
  175. type: image
  176. settings:
  177. image_style: uc_thumbnail
  178. image_link: content
  179. group_column: ''
  180. group_columns: { }
  181. group_rows: true
  182. delta_limit: 0
  183. delta_offset: 0
  184. delta_reversed: false
  185. delta_first_last: false
  186. multi_type: separator
  187. separator: ', '
  188. field_api_classes: false
  189. plugin_id: field
  190. title:
  191. id: title
  192. table: node_field_data
  193. field: title
  194. entity_type: node
  195. entity_field: title
  196. label: ''
  197. alter:
  198. alter_text: false
  199. make_link: false
  200. absolute: false
  201. trim: false
  202. word_boundary: false
  203. ellipsis: false
  204. strip_tags: false
  205. html: false
  206. hide_empty: false
  207. empty_zero: false
  208. settings:
  209. link_to_entity: true
  210. plugin_id: field
  211. relationship: none
  212. group_type: group
  213. admin_label: ''
  214. exclude: false
  215. element_type: ''
  216. element_class: ''
  217. element_label_type: ''
  218. element_label_class: ''
  219. element_label_colon: true
  220. element_wrapper_type: ''
  221. element_wrapper_class: ''
  222. element_default_classes: true
  223. empty: ''
  224. hide_alter_empty: true
  225. click_sort_column: value
  226. type: string
  227. group_column: value
  228. group_columns: { }
  229. group_rows: true
  230. delta_limit: 0
  231. delta_offset: 0
  232. delta_reversed: false
  233. delta_first_last: false
  234. multi_type: separator
  235. separator: ', '
  236. field_api_classes: false
  237. display_price:
  238. id: display_price
  239. table: uc_products
  240. field: display_price
  241. plugin_id: uc_product_display_price
  242. changed:
  243. id: changed
  244. table: node_field_data
  245. field: changed
  246. relationship: none
  247. group_type: group
  248. admin_label: ''
  249. label: Changed
  250. exclude: false
  251. alter:
  252. alter_text: false
  253. text: ''
  254. make_link: false
  255. path: ''
  256. absolute: false
  257. external: false
  258. replace_spaces: false
  259. path_case: none
  260. trim_whitespace: false
  261. alt: ''
  262. rel: ''
  263. link_class: ''
  264. prefix: ''
  265. suffix: ''
  266. target: ''
  267. nl2br: false
  268. max_length: 0
  269. word_boundary: true
  270. ellipsis: true
  271. more_link: false
  272. more_link_text: ''
  273. more_link_path: ''
  274. strip_tags: false
  275. trim: false
  276. preserve_tags: ''
  277. html: false
  278. element_type: ''
  279. element_class: ''
  280. element_label_type: ''
  281. element_label_class: ''
  282. element_label_colon: true
  283. element_wrapper_type: ''
  284. element_wrapper_class: ''
  285. element_default_classes: true
  286. empty: 'No products have been created yet.'
  287. hide_empty: false
  288. empty_zero: false
  289. hide_alter_empty: true
  290. date_format: uc_store
  291. custom_date_format: ''
  292. timezone: ''
  293. entity_type: node
  294. entity_field: changed
  295. plugin_id: date
  296. filters:
  297. status:
  298. value: true
  299. table: node_field_data
  300. field: status
  301. plugin_id: boolean
  302. entity_type: node
  303. entity_field: status
  304. id: status
  305. expose:
  306. operator: ''
  307. group: 1
  308. is_product:
  309. id: is_product
  310. table: uc_products
  311. field: is_product
  312. relationship: none
  313. group_type: group
  314. admin_label: ''
  315. operator: '='
  316. value: true
  317. group: 1
  318. exposed: false
  319. expose:
  320. operator_id: ''
  321. label: ''
  322. description: ''
  323. use_operator: false
  324. operator: ''
  325. identifier: ''
  326. required: false
  327. remember: false
  328. multiple: false
  329. remember_roles:
  330. authenticated: authenticated
  331. is_grouped: false
  332. group_info:
  333. label: ''
  334. description: ''
  335. identifier: ''
  336. optional: true
  337. widget: select
  338. multiple: false
  339. remember: false
  340. default_group: All
  341. default_group_multiple: { }
  342. group_items: { }
  343. plugin_id: uc_product_is_product
  344. title:
  345. id: title
  346. table: node_field_data
  347. field: title
  348. relationship: none
  349. group_type: group
  350. admin_label: ''
  351. operator: contains
  352. value: ''
  353. group: 1
  354. exposed: true
  355. expose:
  356. operator_id: title_op
  357. label: Title
  358. description: ''
  359. use_operator: true
  360. operator: title_op
  361. identifier: title
  362. required: false
  363. remember: true
  364. multiple: false
  365. remember_roles:
  366. authenticated: authenticated
  367. anonymous: '0'
  368. administrator: '0'
  369. is_grouped: false
  370. group_info:
  371. label: ''
  372. description: ''
  373. identifier: ''
  374. optional: true
  375. widget: select
  376. multiple: false
  377. remember: false
  378. default_group: All
  379. default_group_multiple: { }
  380. group_items: { }
  381. entity_type: node
  382. entity_field: title
  383. plugin_id: string
  384. sorts: { }
  385. title: Products
  386. header: { }
  387. footer: { }
  388. empty:
  389. area:
  390. id: area
  391. table: views
  392. field: area
  393. relationship: none
  394. group_type: group
  395. admin_label: ''
  396. empty: true
  397. tokenize: false
  398. content:
  399. value: 'No products available.'
  400. format: basic_html
  401. plugin_id: text
  402. relationships: { }
  403. arguments: { }
  404. display_extenders: { }
  405. filter_groups:
  406. operator: AND
  407. groups:
  408. 1: AND
  409. cache_metadata:
  410. contexts:
  411. - 'languages:language_content'
  412. - 'languages:language_interface'
  413. - url
  414. - url.query_args
  415. - 'user.node_grants:view'
  416. - user.permissions
  417. cacheable: false
  418. max-age: 0
  419. tags:
  420. - 'config:field.storage.node.uc_product_image'
  421. admin_page:
  422. display_plugin: page
  423. id: admin_page
  424. display_title: Page
  425. position: 1
  426. display_options:
  427. display_extenders: { }
  428. path: admin/store/products/view
  429. menu:
  430. type: normal
  431. title: 'View products'
  432. description: 'View and search products available through your website.'
  433. parent: uc_product.admin.store.products
  434. weight: -10
  435. context: '0'
  436. menu_name: admin
  437. cache_metadata:
  438. contexts:
  439. - 'languages:language_content'
  440. - 'languages:language_interface'
  441. - url
  442. - url.query_args
  443. - 'user.node_grants:view'
  444. - user.permissions
  445. cacheable: false
  446. max-age: 0
  447. tags:
  448. - 'config:field.storage.node.uc_product_image'