You are here

views.view.commerce_promotion_coupons.yml in Commerce Core 8.2

modules/promotion/config/install/views.view.commerce_promotion_coupons.yml

File

modules/promotion/config/install/views.view.commerce_promotion_coupons.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - commerce_promotion
  6. - user
  7. id: commerce_promotion_coupons
  8. label: Coupons
  9. module: views
  10. description: ''
  11. tag: ''
  12. base_table: commerce_promotion_coupon
  13. base_field: id
  14. display:
  15. default:
  16. display_plugin: default
  17. id: default
  18. display_title: Master
  19. position: 0
  20. display_options:
  21. access:
  22. type: perm
  23. options:
  24. perm: 'administer commerce_promotion'
  25. cache:
  26. type: none
  27. options: { }
  28. query:
  29. type: views_query
  30. options:
  31. disable_sql_rewrite: false
  32. distinct: false
  33. replica: false
  34. query_comment: ''
  35. query_tags: { }
  36. exposed_form:
  37. type: basic
  38. options:
  39. submit_button: Filter
  40. reset_button: true
  41. reset_button_label: Reset
  42. exposed_sorts_label: 'Sort by'
  43. expose_sort_order: true
  44. sort_asc_label: Asc
  45. sort_desc_label: Desc
  46. pager:
  47. type: full
  48. options:
  49. items_per_page: 50
  50. offset: 0
  51. id: 0
  52. total_pages: null
  53. tags:
  54. previous: ‹‹
  55. next: ››
  56. first: '« First'
  57. last: 'Last »'
  58. expose:
  59. items_per_page: false
  60. items_per_page_label: 'Items per page'
  61. items_per_page_options: '5, 10, 25, 50'
  62. items_per_page_options_all: false
  63. items_per_page_options_all_label: '- All -'
  64. offset: false
  65. offset_label: Offset
  66. quantity: 9
  67. style:
  68. type: table
  69. options:
  70. grouping: { }
  71. row_class: ''
  72. default_row_class: true
  73. override: true
  74. sticky: false
  75. caption: ''
  76. summary: ''
  77. description: ''
  78. columns:
  79. code: code
  80. usage_limit: usage_limit
  81. usage_limit_customer: usage_limit_customer
  82. operations: operations
  83. info:
  84. code:
  85. sortable: false
  86. default_sort_order: asc
  87. align: ''
  88. separator: ''
  89. empty_column: false
  90. responsive: ''
  91. usage_limit:
  92. sortable: false
  93. default_sort_order: asc
  94. align: ''
  95. separator: ''
  96. empty_column: false
  97. responsive: ''
  98. usage_limit_customer:
  99. sortable: false
  100. default_sort_order: asc
  101. align: ''
  102. separator: ''
  103. empty_column: false
  104. responsive: ''
  105. operations:
  106. align: ''
  107. separator: ''
  108. empty_column: false
  109. responsive: ''
  110. default: '-1'
  111. empty_table: true
  112. row:
  113. type: 'entity:commerce_promotion_coupon'
  114. fields:
  115. code:
  116. id: code
  117. table: commerce_promotion_coupon
  118. field: code
  119. relationship: none
  120. group_type: group
  121. admin_label: ''
  122. label: Code
  123. exclude: false
  124. alter:
  125. alter_text: false
  126. text: ''
  127. make_link: false
  128. path: ''
  129. absolute: false
  130. external: false
  131. replace_spaces: false
  132. path_case: none
  133. trim_whitespace: true
  134. alt: ''
  135. rel: ''
  136. link_class: ''
  137. prefix: ''
  138. suffix: ''
  139. target: ''
  140. nl2br: false
  141. max_length: 0
  142. word_boundary: true
  143. ellipsis: true
  144. more_link: false
  145. more_link_text: ''
  146. more_link_path: ''
  147. strip_tags: false
  148. trim: false
  149. preserve_tags: ''
  150. html: false
  151. element_type: ''
  152. element_class: ''
  153. element_label_type: ''
  154. element_label_class: ''
  155. element_label_colon: true
  156. element_wrapper_type: ''
  157. element_wrapper_class: ''
  158. element_default_classes: true
  159. empty: ''
  160. hide_empty: false
  161. empty_zero: false
  162. hide_alter_empty: true
  163. click_sort_column: value
  164. type: string
  165. settings:
  166. link_to_entity: false
  167. group_column: value
  168. group_columns: { }
  169. group_rows: true
  170. delta_limit: 0
  171. delta_offset: 0
  172. delta_reversed: false
  173. delta_first_last: false
  174. multi_type: separator
  175. separator: ', '
  176. field_api_classes: false
  177. entity_type: null
  178. entity_field: code
  179. plugin_id: field
  180. usage_limit:
  181. id: usage_limit
  182. table: commerce_promotion_coupon
  183. field: usage_limit
  184. relationship: none
  185. group_type: group
  186. admin_label: ''
  187. label: Usage
  188. exclude: false
  189. alter:
  190. alter_text: false
  191. text: ''
  192. make_link: false
  193. path: ''
  194. absolute: false
  195. external: false
  196. replace_spaces: false
  197. path_case: none
  198. trim_whitespace: false
  199. alt: ''
  200. rel: ''
  201. link_class: ''
  202. prefix: ''
  203. suffix: ''
  204. target: ''
  205. nl2br: false
  206. max_length: 0
  207. word_boundary: true
  208. ellipsis: true
  209. more_link: false
  210. more_link_text: ''
  211. more_link_path: ''
  212. strip_tags: false
  213. trim: false
  214. preserve_tags: ''
  215. html: false
  216. element_type: ''
  217. element_class: ''
  218. element_label_type: ''
  219. element_label_class: ''
  220. element_label_colon: true
  221. element_wrapper_type: ''
  222. element_wrapper_class: ''
  223. element_default_classes: true
  224. empty: ''
  225. hide_empty: false
  226. empty_zero: false
  227. hide_alter_empty: true
  228. click_sort_column: value
  229. type: commerce_usage_limit
  230. settings: { }
  231. group_column: value
  232. group_columns: { }
  233. group_rows: true
  234. delta_limit: 0
  235. delta_offset: 0
  236. delta_reversed: false
  237. delta_first_last: false
  238. multi_type: separator
  239. separator: ', '
  240. field_api_classes: false
  241. entity_type: commerce_promotion_coupon
  242. entity_field: usage_limit
  243. plugin_id: field
  244. usage_limit_customer:
  245. id: usage_limit_customer
  246. table: commerce_promotion_coupon
  247. field: usage_limit_customer
  248. relationship: none
  249. group_type: group
  250. admin_label: ''
  251. label: 'Per-customer limit'
  252. exclude: false
  253. alter:
  254. alter_text: false
  255. text: ''
  256. make_link: false
  257. path: ''
  258. absolute: false
  259. external: false
  260. replace_spaces: false
  261. path_case: none
  262. trim_whitespace: false
  263. alt: ''
  264. rel: ''
  265. link_class: ''
  266. prefix: ''
  267. suffix: ''
  268. target: ''
  269. nl2br: false
  270. max_length: 0
  271. word_boundary: true
  272. ellipsis: true
  273. more_link: false
  274. more_link_text: ''
  275. more_link_path: ''
  276. strip_tags: false
  277. trim: false
  278. preserve_tags: ''
  279. html: false
  280. element_type: ''
  281. element_class: ''
  282. element_label_type: ''
  283. element_label_class: ''
  284. element_label_colon: true
  285. element_wrapper_type: ''
  286. element_wrapper_class: ''
  287. element_default_classes: true
  288. empty: ''
  289. hide_empty: false
  290. empty_zero: false
  291. hide_alter_empty: true
  292. click_sort_column: value
  293. type: commerce_usage_limit
  294. settings: { }
  295. group_column: value
  296. group_columns: { }
  297. group_rows: true
  298. delta_limit: 0
  299. delta_offset: 0
  300. delta_reversed: false
  301. delta_first_last: false
  302. multi_type: separator
  303. separator: ', '
  304. field_api_classes: false
  305. entity_type: commerce_promotion_coupon
  306. entity_field: usage_limit_customer
  307. plugin_id: field
  308. operations:
  309. id: operations
  310. table: commerce_promotion_coupon
  311. field: operations
  312. relationship: none
  313. group_type: group
  314. admin_label: ''
  315. label: Operations
  316. exclude: false
  317. alter:
  318. alter_text: false
  319. text: ''
  320. make_link: false
  321. path: ''
  322. absolute: false
  323. external: false
  324. replace_spaces: false
  325. path_case: none
  326. trim_whitespace: false
  327. alt: ''
  328. rel: ''
  329. link_class: ''
  330. prefix: ''
  331. suffix: ''
  332. target: ''
  333. nl2br: false
  334. max_length: 0
  335. word_boundary: true
  336. ellipsis: true
  337. more_link: false
  338. more_link_text: ''
  339. more_link_path: ''
  340. strip_tags: false
  341. trim: false
  342. preserve_tags: ''
  343. html: false
  344. element_type: ''
  345. element_class: ''
  346. element_label_type: ''
  347. element_label_class: ''
  348. element_label_colon: true
  349. element_wrapper_type: ''
  350. element_wrapper_class: ''
  351. element_default_classes: true
  352. empty: ''
  353. hide_empty: false
  354. empty_zero: false
  355. hide_alter_empty: true
  356. destination: false
  357. entity_type: commerce_promotion_coupon
  358. plugin_id: entity_operations
  359. filters:
  360. code:
  361. id: code
  362. table: commerce_promotion_coupon
  363. field: code
  364. relationship: none
  365. group_type: group
  366. admin_label: ''
  367. operator: contains
  368. value: ''
  369. group: 1
  370. exposed: true
  371. expose:
  372. operator_id: code_op
  373. label: Code
  374. description: ''
  375. use_operator: false
  376. operator: code_op
  377. operator_limit_selection: false
  378. operator_list: { }
  379. identifier: code
  380. required: false
  381. remember: false
  382. multiple: false
  383. remember_roles:
  384. authenticated: authenticated
  385. anonymous: '0'
  386. administrator: '0'
  387. contributor: '0'
  388. placeholder: ''
  389. is_grouped: false
  390. group_info:
  391. label: ''
  392. description: ''
  393. identifier: ''
  394. optional: true
  395. widget: select
  396. multiple: false
  397. remember: false
  398. default_group: All
  399. default_group_multiple: { }
  400. group_items: { }
  401. entity_type: commerce_promotion_coupon
  402. entity_field: code
  403. plugin_id: string
  404. sorts:
  405. id:
  406. id: id
  407. table: commerce_promotion_coupon
  408. field: id
  409. relationship: none
  410. group_type: group
  411. admin_label: ''
  412. order: DESC
  413. exposed: false
  414. expose:
  415. label: ''
  416. entity_type: commerce_promotion_coupon
  417. entity_field: id
  418. plugin_id: standard
  419. title: Coupons
  420. header: { }
  421. footer: { }
  422. empty:
  423. area:
  424. id: area
  425. table: views
  426. field: area
  427. relationship: none
  428. group_type: group
  429. admin_label: ''
  430. empty: true
  431. tokenize: false
  432. content:
  433. value: 'There are no coupons yet.'
  434. format: basic_html
  435. plugin_id: text
  436. relationships: { }
  437. arguments:
  438. promotion_id:
  439. id: promotion_id
  440. table: commerce_promotion_coupon
  441. field: promotion_id
  442. relationship: none
  443. group_type: group
  444. admin_label: ''
  445. default_action: default
  446. exception:
  447. value: all
  448. title_enable: false
  449. title: All
  450. title_enable: false
  451. title: ''
  452. default_argument_type: raw
  453. default_argument_options:
  454. index: 1
  455. use_alias: false
  456. default_argument_skip_url: false
  457. summary_options:
  458. base_path: ''
  459. count: true
  460. items_per_page: 25
  461. override: false
  462. summary:
  463. sort_order: asc
  464. number_of_records: 0
  465. format: default_summary
  466. specify_validation: false
  467. validate:
  468. type: none
  469. fail: 'not found'
  470. validate_options: { }
  471. break_phrase: false
  472. not: false
  473. entity_type: commerce_promotion_coupon
  474. entity_field: promotion_id
  475. plugin_id: numeric
  476. display_extenders: { }
  477. cache_metadata:
  478. max-age: -1
  479. contexts:
  480. - 'languages:language_content'
  481. - 'languages:language_interface'
  482. - url
  483. - url.query_args
  484. - user.permissions
  485. tags: { }
  486. page_1:
  487. display_plugin: page
  488. id: page_1
  489. display_title: Page
  490. position: 1
  491. display_options:
  492. display_extenders: { }
  493. path: promotion/%/coupons
  494. cache_metadata:
  495. max-age: -1
  496. contexts:
  497. - 'languages:language_content'
  498. - 'languages:language_interface'
  499. - url
  500. - url.query_args
  501. - user.permissions
  502. tags: { }