views.view.commerce_promotion_coupons.yml 14 KB

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