views.view.commerce_promotion_coupons.yml 14 KB

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