You are here

views.view.commerce_file_my_files.yml in Commerce File 8.2

config/install/views.view.commerce_file_my_files.yml

File

config/install/views.view.commerce_file_my_files.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - field.storage.commerce_product_variation.commerce_file
  6. enforced:
  7. module:
  8. - commerce_file
  9. module:
  10. - commerce
  11. - commerce_file
  12. - commerce_license
  13. - commerce_product
  14. - state_machine
  15. - user
  16. id: commerce_file_my_files
  17. label: 'Licensed files'
  18. module: views
  19. description: ''
  20. tag: default
  21. base_table: commerce_license
  22. base_field: license_id
  23. display:
  24. default:
  25. display_plugin: default
  26. id: default
  27. display_title: Master
  28. position: 0
  29. display_options:
  30. access:
  31. type: perm
  32. options:
  33. perm: 'view own commerce_license'
  34. cache:
  35. type: tag
  36. options: { }
  37. query:
  38. type: views_query
  39. options:
  40. disable_sql_rewrite: true
  41. distinct: false
  42. replica: false
  43. query_comment: ''
  44. query_tags: { }
  45. exposed_form:
  46. type: basic
  47. options:
  48. submit_button: Apply
  49. reset_button: false
  50. reset_button_label: Reset
  51. exposed_sorts_label: 'Sort by'
  52. expose_sort_order: true
  53. sort_asc_label: Asc
  54. sort_desc_label: Desc
  55. pager:
  56. type: full
  57. options:
  58. items_per_page: 20
  59. offset: 0
  60. id: 0
  61. total_pages: null
  62. tags:
  63. previous: '‹ Previous'
  64. next: 'Next ›'
  65. first: '‹‹ First'
  66. last: 'Last ››'
  67. expose:
  68. items_per_page: false
  69. items_per_page_label: 'Items per page'
  70. items_per_page_options: '5, 10, 25, 50'
  71. items_per_page_options_all: false
  72. items_per_page_options_all_label: '- All -'
  73. offset: false
  74. offset_label: Offset
  75. quantity: 9
  76. style:
  77. type: table
  78. options:
  79. grouping: { }
  80. row_class: ''
  81. default_row_class: true
  82. override: true
  83. sticky: false
  84. caption: ''
  85. summary: ''
  86. description: ''
  87. columns:
  88. license_id: license_id
  89. commerce_file: commerce_file
  90. download_limit: download_limit
  91. expires: expires
  92. info:
  93. license_id:
  94. sortable: false
  95. default_sort_order: asc
  96. align: ''
  97. separator: ''
  98. empty_column: false
  99. responsive: ''
  100. commerce_file:
  101. sortable: false
  102. default_sort_order: asc
  103. align: ''
  104. separator: ''
  105. empty_column: false
  106. responsive: ''
  107. download_limit:
  108. sortable: false
  109. default_sort_order: asc
  110. align: ''
  111. separator: ''
  112. empty_column: false
  113. responsive: ''
  114. expires:
  115. sortable: false
  116. default_sort_order: asc
  117. align: ''
  118. separator: ''
  119. empty_column: true
  120. responsive: ''
  121. default: '-1'
  122. empty_table: true
  123. row:
  124. type: fields
  125. fields:
  126. commerce_file:
  127. id: commerce_file
  128. table: commerce_product_variation__commerce_file
  129. field: commerce_file
  130. relationship: product_variation
  131. group_type: group
  132. admin_label: ''
  133. label: Files
  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: commerce_file_download_link
  176. settings:
  177. use_description_as_link_text: false
  178. group_column: ''
  179. group_columns: { }
  180. group_rows: false
  181. delta_limit: 0
  182. delta_offset: 0
  183. delta_reversed: false
  184. delta_first_last: false
  185. multi_type: ul
  186. separator: ''
  187. field_api_classes: false
  188. plugin_id: field
  189. download_limit:
  190. id: download_limit
  191. table: commerce_license
  192. field: download_limit
  193. relationship: none
  194. group_type: group
  195. admin_label: ''
  196. label: Downloads
  197. exclude: false
  198. alter:
  199. alter_text: false
  200. text: ''
  201. make_link: false
  202. path: ''
  203. absolute: false
  204. external: false
  205. replace_spaces: false
  206. path_case: none
  207. trim_whitespace: false
  208. alt: ''
  209. rel: ''
  210. link_class: ''
  211. prefix: ''
  212. suffix: ''
  213. target: ''
  214. nl2br: false
  215. max_length: 0
  216. word_boundary: true
  217. ellipsis: true
  218. more_link: false
  219. more_link_text: ''
  220. more_link_path: ''
  221. strip_tags: false
  222. trim: false
  223. preserve_tags: ''
  224. html: false
  225. element_type: ''
  226. element_class: ''
  227. element_label_type: ''
  228. element_label_class: ''
  229. element_label_colon: true
  230. element_wrapper_type: ''
  231. element_wrapper_class: ''
  232. element_default_classes: true
  233. empty: ''
  234. hide_empty: false
  235. empty_zero: false
  236. hide_alter_empty: true
  237. entity_type: commerce_license
  238. plugin_id: download_limit
  239. expires:
  240. id: expires
  241. table: commerce_license
  242. field: expires
  243. relationship: none
  244. group_type: group
  245. admin_label: ''
  246. label: Expires
  247. exclude: false
  248. alter:
  249. alter_text: false
  250. text: ''
  251. make_link: false
  252. path: ''
  253. absolute: false
  254. external: false
  255. replace_spaces: false
  256. path_case: none
  257. trim_whitespace: false
  258. alt: ''
  259. rel: ''
  260. link_class: ''
  261. prefix: ''
  262. suffix: ''
  263. target: ''
  264. nl2br: false
  265. max_length: 0
  266. word_boundary: true
  267. ellipsis: true
  268. more_link: false
  269. more_link_text: ''
  270. more_link_path: ''
  271. strip_tags: false
  272. trim: false
  273. preserve_tags: ''
  274. html: false
  275. element_type: ''
  276. element_class: ''
  277. element_label_type: ''
  278. element_label_class: ''
  279. element_label_colon: true
  280. element_wrapper_type: ''
  281. element_wrapper_class: ''
  282. element_default_classes: true
  283. empty: ''
  284. hide_empty: true
  285. empty_zero: true
  286. hide_alter_empty: true
  287. click_sort_column: value
  288. type: commerce_license_expiration
  289. settings:
  290. date_format: medium
  291. custom_date_format: ''
  292. timezone: ''
  293. group_column: value
  294. group_columns: { }
  295. group_rows: true
  296. delta_limit: 0
  297. delta_offset: 0
  298. delta_reversed: false
  299. delta_first_last: false
  300. multi_type: separator
  301. separator: ', '
  302. field_api_classes: false
  303. entity_type: commerce_license
  304. entity_field: expires
  305. plugin_id: field
  306. filters:
  307. type:
  308. id: type
  309. table: commerce_license
  310. field: type
  311. relationship: none
  312. group_type: group
  313. admin_label: ''
  314. operator: in
  315. value:
  316. commerce_file: commerce_file
  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. reduce: false
  332. hide_single_bundle: true
  333. operator_limit_selection: false
  334. operator_list: { }
  335. is_grouped: false
  336. group_info:
  337. label: ''
  338. description: ''
  339. identifier: ''
  340. optional: true
  341. widget: select
  342. multiple: false
  343. remember: false
  344. default_group: All
  345. default_group_multiple: { }
  346. group_items: { }
  347. entity_type: commerce_license
  348. entity_field: type
  349. plugin_id: commerce_entity_bundle
  350. state:
  351. id: state
  352. table: commerce_license
  353. field: state
  354. relationship: none
  355. group_type: group
  356. admin_label: ''
  357. operator: in
  358. value:
  359. active: active
  360. group: 1
  361. exposed: false
  362. expose:
  363. operator_id: ''
  364. label: ''
  365. description: ''
  366. use_operator: false
  367. operator: ''
  368. identifier: ''
  369. required: false
  370. remember: false
  371. multiple: false
  372. remember_roles:
  373. authenticated: authenticated
  374. reduce: false
  375. operator_limit_selection: false
  376. operator_list: { }
  377. is_grouped: false
  378. group_info:
  379. label: ''
  380. description: ''
  381. identifier: ''
  382. optional: true
  383. widget: select
  384. multiple: false
  385. remember: false
  386. default_group: All
  387. default_group_multiple: { }
  388. group_items: { }
  389. entity_type: commerce_license
  390. entity_field: state
  391. plugin_id: state_machine_state
  392. sorts:
  393. license_id:
  394. id: license_id
  395. table: commerce_license
  396. field: license_id
  397. relationship: none
  398. group_type: group
  399. admin_label: ''
  400. order: DESC
  401. exposed: false
  402. expose:
  403. label: ''
  404. entity_type: commerce_license
  405. entity_field: license_id
  406. plugin_id: standard
  407. title: 'Licensed files'
  408. header: { }
  409. footer: { }
  410. empty:
  411. area_text_custom:
  412. id: area_text_custom
  413. table: views
  414. field: area_text_custom
  415. relationship: none
  416. group_type: group
  417. admin_label: ''
  418. empty: true
  419. tokenize: false
  420. content: 'No files yet.'
  421. plugin_id: text_custom
  422. relationships:
  423. product_variation:
  424. id: product_variation
  425. table: commerce_license
  426. field: product_variation
  427. relationship: none
  428. group_type: group
  429. admin_label: 'Product variation'
  430. required: false
  431. entity_type: commerce_license
  432. entity_field: product_variation
  433. plugin_id: standard
  434. arguments:
  435. uid:
  436. id: uid
  437. table: commerce_license
  438. field: uid
  439. relationship: none
  440. group_type: group
  441. admin_label: ''
  442. default_action: 'not found'
  443. exception:
  444. value: all
  445. title_enable: false
  446. title: All
  447. title_enable: false
  448. title: ''
  449. default_argument_type: fixed
  450. default_argument_options:
  451. argument: ''
  452. default_argument_skip_url: false
  453. summary_options:
  454. base_path: ''
  455. count: true
  456. items_per_page: 25
  457. override: false
  458. summary:
  459. sort_order: asc
  460. number_of_records: 0
  461. format: default_summary
  462. specify_validation: true
  463. validate:
  464. type: commerce_current_user
  465. fail: 'not found'
  466. validate_options:
  467. admin_permission: 'bypass license control'
  468. break_phrase: false
  469. not: false
  470. entity_type: commerce_license
  471. entity_field: uid
  472. plugin_id: numeric
  473. display_extenders: { }
  474. cache_metadata:
  475. max-age: -1
  476. contexts:
  477. - 'languages:language_content'
  478. - 'languages:language_interface'
  479. - url
  480. - url.query_args
  481. - user
  482. - user.permissions
  483. tags:
  484. - 'config:field.storage.commerce_product_variation.commerce_file'
  485. checkout_complete:
  486. display_plugin: block
  487. id: checkout_complete
  488. display_title: 'Checkout complete'
  489. position: 2
  490. display_options:
  491. display_extenders: { }
  492. display_description: 'Embedded from the DownloadFile checkout pane.'
  493. access:
  494. type: none
  495. options: { }
  496. defaults:
  497. access: false
  498. arguments: false
  499. arguments:
  500. license_id:
  501. id: license_id
  502. table: commerce_license
  503. field: license_id
  504. relationship: none
  505. group_type: group
  506. admin_label: ''
  507. default_action: 'not found'
  508. exception:
  509. value: all
  510. title_enable: false
  511. title: All
  512. title_enable: false
  513. title: ''
  514. default_argument_type: fixed
  515. default_argument_options:
  516. argument: ''
  517. default_argument_skip_url: false
  518. summary_options:
  519. base_path: ''
  520. count: true
  521. items_per_page: 25
  522. override: false
  523. summary:
  524. sort_order: asc
  525. number_of_records: 0
  526. format: default_summary
  527. specify_validation: false
  528. validate:
  529. type: none
  530. fail: 'not found'
  531. validate_options: { }
  532. break_phrase: true
  533. not: false
  534. entity_type: commerce_license
  535. entity_field: license_id
  536. plugin_id: numeric
  537. cache_metadata:
  538. max-age: -1
  539. contexts:
  540. - 'languages:language_content'
  541. - 'languages:language_interface'
  542. - url
  543. - url.query_args
  544. tags:
  545. - 'config:field.storage.commerce_product_variation.commerce_file'
  546. page:
  547. display_plugin: page
  548. id: page
  549. display_title: Page
  550. position: 0
  551. display_options:
  552. display_extenders: { }
  553. path: user/%user/files
  554. menu:
  555. type: tab
  556. title: Files
  557. description: ''
  558. menu_name: account
  559. weight: 0
  560. context: ''
  561. cache_metadata:
  562. max-age: -1
  563. contexts:
  564. - 'languages:language_content'
  565. - 'languages:language_interface'
  566. - url
  567. - url.query_args
  568. - user
  569. - user.permissions
  570. tags:
  571. - 'config:field.storage.commerce_product_variation.commerce_file'