views.view.commerce_user_subscriptions.yml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. uuid: 00a50fbc-5852-4670-b761-442e36b3e448
  2. langcode: en
  3. status: true
  4. dependencies:
  5. module:
  6. - commerce_recurring
  7. - options
  8. - user
  9. id: commerce_user_subscriptions
  10. label: 'User subscriptions'
  11. module: views
  12. description: 'Display a list of subscriptions for a user.'
  13. tag: Commerce
  14. base_table: commerce_subscription
  15. base_field: subscription_id
  16. display:
  17. default:
  18. display_plugin: default
  19. id: default
  20. display_title: Master
  21. position: 0
  22. display_options:
  23. access:
  24. type: perm
  25. options:
  26. perm: 'view own commerce_subscription'
  27. cache:
  28. type: tag
  29. options: { }
  30. query:
  31. type: views_query
  32. options:
  33. disable_sql_rewrite: false
  34. distinct: false
  35. replica: false
  36. query_comment: ''
  37. query_tags: { }
  38. exposed_form:
  39. type: basic
  40. options:
  41. submit_button: Apply
  42. reset_button: false
  43. reset_button_label: Reset
  44. exposed_sorts_label: 'Sort by'
  45. expose_sort_order: true
  46. sort_asc_label: Asc
  47. sort_desc_label: Desc
  48. pager:
  49. type: full
  50. options:
  51. items_per_page: 25
  52. offset: 0
  53. id: 0
  54. total_pages: null
  55. tags:
  56. previous: '‹ Previous'
  57. next: 'Next ›'
  58. first: '« First'
  59. last: 'Last »'
  60. expose:
  61. items_per_page: false
  62. items_per_page_label: 'Items per page'
  63. items_per_page_options: '5, 10, 25, 50'
  64. items_per_page_options_all: false
  65. items_per_page_options_all_label: '- All -'
  66. offset: false
  67. offset_label: Offset
  68. quantity: 9
  69. style:
  70. type: table
  71. options:
  72. grouping: { }
  73. row_class: ''
  74. default_row_class: true
  75. override: true
  76. sticky: false
  77. caption: ''
  78. summary: ''
  79. description: ''
  80. columns:
  81. subscription_id: subscription_id
  82. title: title
  83. billing_schedule: billing_schedule
  84. state: state
  85. starts: starts
  86. ends: ends
  87. info:
  88. subscription_id:
  89. sortable: false
  90. default_sort_order: asc
  91. align: ''
  92. separator: ''
  93. empty_column: false
  94. responsive: ''
  95. title:
  96. sortable: false
  97. default_sort_order: asc
  98. align: ''
  99. separator: ''
  100. empty_column: false
  101. responsive: ''
  102. billing_schedule:
  103. sortable: false
  104. default_sort_order: asc
  105. align: ''
  106. separator: ''
  107. empty_column: false
  108. responsive: ''
  109. state:
  110. sortable: true
  111. default_sort_order: asc
  112. align: ''
  113. separator: ''
  114. empty_column: false
  115. responsive: ''
  116. starts:
  117. sortable: true
  118. default_sort_order: asc
  119. align: ''
  120. separator: ''
  121. empty_column: false
  122. responsive: ''
  123. ends:
  124. sortable: false
  125. default_sort_order: asc
  126. align: ''
  127. separator: ''
  128. empty_column: false
  129. responsive: ''
  130. default: state
  131. empty_table: false
  132. row:
  133. type: fields
  134. fields:
  135. subscription_id:
  136. id: subscription_id
  137. table: commerce_subscription
  138. field: subscription_id
  139. relationship: none
  140. group_type: group
  141. admin_label: ''
  142. label: ''
  143. exclude: true
  144. alter:
  145. alter_text: false
  146. text: ''
  147. make_link: false
  148. path: ''
  149. absolute: false
  150. external: false
  151. replace_spaces: false
  152. path_case: none
  153. trim_whitespace: false
  154. alt: ''
  155. rel: ''
  156. link_class: ''
  157. prefix: ''
  158. suffix: ''
  159. target: ''
  160. nl2br: false
  161. max_length: 0
  162. word_boundary: true
  163. ellipsis: true
  164. more_link: false
  165. more_link_text: ''
  166. more_link_path: ''
  167. strip_tags: false
  168. trim: false
  169. preserve_tags: ''
  170. html: false
  171. element_type: ''
  172. element_class: ''
  173. element_label_type: ''
  174. element_label_class: ''
  175. element_label_colon: false
  176. element_wrapper_type: ''
  177. element_wrapper_class: ''
  178. element_default_classes: true
  179. empty: ''
  180. hide_empty: false
  181. empty_zero: false
  182. hide_alter_empty: true
  183. click_sort_column: value
  184. type: number_integer
  185. settings:
  186. thousand_separator: ''
  187. prefix_suffix: true
  188. group_column: value
  189. group_columns: { }
  190. group_rows: true
  191. delta_limit: 0
  192. delta_offset: 0
  193. delta_reversed: false
  194. delta_first_last: false
  195. multi_type: separator
  196. separator: ', '
  197. field_api_classes: false
  198. entity_type: commerce_subscription
  199. entity_field: subscription_id
  200. plugin_id: field
  201. title:
  202. id: title
  203. table: commerce_subscription
  204. field: title
  205. relationship: none
  206. group_type: group
  207. admin_label: ''
  208. label: Title
  209. exclude: false
  210. alter:
  211. alter_text: false
  212. text: ''
  213. make_link: false
  214. path: ''
  215. absolute: false
  216. external: false
  217. replace_spaces: false
  218. path_case: none
  219. trim_whitespace: false
  220. alt: ''
  221. rel: ''
  222. link_class: ''
  223. prefix: ''
  224. suffix: ''
  225. target: ''
  226. nl2br: false
  227. max_length: 0
  228. word_boundary: true
  229. ellipsis: true
  230. more_link: false
  231. more_link_text: ''
  232. more_link_path: ''
  233. strip_tags: false
  234. trim: false
  235. preserve_tags: ''
  236. html: false
  237. element_type: ''
  238. element_class: ''
  239. element_label_type: ''
  240. element_label_class: ''
  241. element_label_colon: true
  242. element_wrapper_type: ''
  243. element_wrapper_class: ''
  244. element_default_classes: true
  245. empty: ''
  246. hide_empty: false
  247. empty_zero: false
  248. hide_alter_empty: true
  249. click_sort_column: value
  250. type: string
  251. settings:
  252. link_to_entity: false
  253. group_column: value
  254. group_columns: { }
  255. group_rows: true
  256. delta_limit: 0
  257. delta_offset: 0
  258. delta_reversed: false
  259. delta_first_last: false
  260. multi_type: separator
  261. separator: ', '
  262. field_api_classes: false
  263. entity_type: commerce_subscription
  264. entity_field: title
  265. plugin_id: field
  266. billing_schedule:
  267. id: billing_schedule
  268. table: commerce_subscription
  269. field: billing_schedule
  270. relationship: none
  271. group_type: group
  272. admin_label: ''
  273. label: 'Billing schedule'
  274. exclude: false
  275. alter:
  276. alter_text: false
  277. text: ''
  278. make_link: false
  279. path: ''
  280. absolute: false
  281. external: false
  282. replace_spaces: false
  283. path_case: none
  284. trim_whitespace: false
  285. alt: ''
  286. rel: ''
  287. link_class: ''
  288. prefix: ''
  289. suffix: ''
  290. target: ''
  291. nl2br: false
  292. max_length: 0
  293. word_boundary: true
  294. ellipsis: true
  295. more_link: false
  296. more_link_text: ''
  297. more_link_path: ''
  298. strip_tags: false
  299. trim: false
  300. preserve_tags: ''
  301. html: false
  302. element_type: ''
  303. element_class: ''
  304. element_label_type: ''
  305. element_label_class: ''
  306. element_label_colon: true
  307. element_wrapper_type: ''
  308. element_wrapper_class: ''
  309. element_default_classes: true
  310. empty: ''
  311. hide_empty: false
  312. empty_zero: false
  313. hide_alter_empty: true
  314. click_sort_column: target_id
  315. type: entity_reference_label
  316. settings:
  317. link: false
  318. group_column: target_id
  319. group_columns: { }
  320. group_rows: true
  321. delta_limit: 0
  322. delta_offset: 0
  323. delta_reversed: false
  324. delta_first_last: false
  325. multi_type: separator
  326. separator: ', '
  327. field_api_classes: false
  328. entity_type: commerce_subscription
  329. entity_field: billing_schedule
  330. plugin_id: field
  331. state:
  332. id: state
  333. table: commerce_subscription
  334. field: state
  335. relationship: none
  336. group_type: group
  337. admin_label: ''
  338. label: State
  339. exclude: false
  340. alter:
  341. alter_text: false
  342. text: ''
  343. make_link: false
  344. path: ''
  345. absolute: false
  346. external: false
  347. replace_spaces: false
  348. path_case: none
  349. trim_whitespace: false
  350. alt: ''
  351. rel: ''
  352. link_class: ''
  353. prefix: ''
  354. suffix: ''
  355. target: ''
  356. nl2br: false
  357. max_length: 0
  358. word_boundary: true
  359. ellipsis: true
  360. more_link: false
  361. more_link_text: ''
  362. more_link_path: ''
  363. strip_tags: false
  364. trim: false
  365. preserve_tags: ''
  366. html: false
  367. element_type: ''
  368. element_class: ''
  369. element_label_type: ''
  370. element_label_class: ''
  371. element_label_colon: true
  372. element_wrapper_type: ''
  373. element_wrapper_class: ''
  374. element_default_classes: true
  375. empty: ''
  376. hide_empty: false
  377. empty_zero: false
  378. hide_alter_empty: true
  379. click_sort_column: value
  380. type: list_default
  381. settings: { }
  382. group_column: value
  383. group_columns: { }
  384. group_rows: true
  385. delta_limit: 0
  386. delta_offset: 0
  387. delta_reversed: false
  388. delta_first_last: false
  389. multi_type: separator
  390. separator: ', '
  391. field_api_classes: false
  392. entity_type: commerce_subscription
  393. entity_field: state
  394. plugin_id: field
  395. starts:
  396. id: starts
  397. table: commerce_subscription
  398. field: starts
  399. relationship: none
  400. group_type: group
  401. admin_label: ''
  402. label: Starts
  403. exclude: false
  404. alter:
  405. alter_text: false
  406. text: ''
  407. make_link: false
  408. path: ''
  409. absolute: false
  410. external: false
  411. replace_spaces: false
  412. path_case: none
  413. trim_whitespace: false
  414. alt: ''
  415. rel: ''
  416. link_class: ''
  417. prefix: ''
  418. suffix: ''
  419. target: ''
  420. nl2br: false
  421. max_length: 0
  422. word_boundary: true
  423. ellipsis: true
  424. more_link: false
  425. more_link_text: ''
  426. more_link_path: ''
  427. strip_tags: false
  428. trim: false
  429. preserve_tags: ''
  430. html: false
  431. element_type: ''
  432. element_class: ''
  433. element_label_type: ''
  434. element_label_class: ''
  435. element_label_colon: true
  436. element_wrapper_type: ''
  437. element_wrapper_class: ''
  438. element_default_classes: true
  439. empty: ''
  440. hide_empty: false
  441. empty_zero: false
  442. hide_alter_empty: true
  443. click_sort_column: value
  444. type: timestamp
  445. settings:
  446. date_format: custom
  447. custom_date_format: 'M jS Y H:i:s'
  448. timezone: ''
  449. group_column: value
  450. group_columns: { }
  451. group_rows: true
  452. delta_limit: 0
  453. delta_offset: 0
  454. delta_reversed: false
  455. delta_first_last: false
  456. multi_type: separator
  457. separator: ', '
  458. field_api_classes: false
  459. entity_type: commerce_subscription
  460. entity_field: starts
  461. plugin_id: field
  462. ends:
  463. id: ends
  464. table: commerce_subscription
  465. field: ends
  466. relationship: none
  467. group_type: group
  468. admin_label: ''
  469. label: Ends
  470. exclude: false
  471. alter:
  472. alter_text: false
  473. text: ''
  474. make_link: false
  475. path: ''
  476. absolute: false
  477. external: false
  478. replace_spaces: false
  479. path_case: none
  480. trim_whitespace: false
  481. alt: ''
  482. rel: ''
  483. link_class: ''
  484. prefix: ''
  485. suffix: ''
  486. target: ''
  487. nl2br: false
  488. max_length: 0
  489. word_boundary: true
  490. ellipsis: true
  491. more_link: false
  492. more_link_text: ''
  493. more_link_path: ''
  494. strip_tags: false
  495. trim: false
  496. preserve_tags: ''
  497. html: false
  498. element_type: ''
  499. element_class: ''
  500. element_label_type: ''
  501. element_label_class: ''
  502. element_label_colon: true
  503. element_wrapper_type: ''
  504. element_wrapper_class: ''
  505. element_default_classes: true
  506. empty: '-'
  507. hide_empty: false
  508. empty_zero: false
  509. hide_alter_empty: true
  510. click_sort_column: value
  511. type: timestamp
  512. settings:
  513. date_format: custom
  514. custom_date_format: 'M jS Y H:i:s'
  515. timezone: ''
  516. group_column: value
  517. group_columns: { }
  518. group_rows: true
  519. delta_limit: 0
  520. delta_offset: 0
  521. delta_reversed: false
  522. delta_first_last: false
  523. multi_type: separator
  524. separator: ', '
  525. field_api_classes: false
  526. entity_type: commerce_subscription
  527. entity_field: ends
  528. plugin_id: field
  529. operations:
  530. id: operations
  531. table: commerce_subscription
  532. field: operations
  533. relationship: none
  534. group_type: group
  535. admin_label: ''
  536. label: Operations
  537. exclude: false
  538. alter:
  539. alter_text: false
  540. text: ''
  541. make_link: false
  542. path: ''
  543. absolute: false
  544. external: false
  545. replace_spaces: false
  546. path_case: none
  547. trim_whitespace: false
  548. alt: ''
  549. rel: ''
  550. link_class: ''
  551. prefix: ''
  552. suffix: ''
  553. target: ''
  554. nl2br: false
  555. max_length: 0
  556. word_boundary: true
  557. ellipsis: true
  558. more_link: false
  559. more_link_text: ''
  560. more_link_path: ''
  561. strip_tags: false
  562. trim: false
  563. preserve_tags: ''
  564. html: false
  565. element_type: ''
  566. element_class: ''
  567. element_label_type: ''
  568. element_label_class: ''
  569. element_label_colon: true
  570. element_wrapper_type: ''
  571. element_wrapper_class: ''
  572. element_default_classes: true
  573. empty: ''
  574. hide_empty: false
  575. empty_zero: false
  576. hide_alter_empty: true
  577. destination: false
  578. entity_type: commerce_subscription
  579. plugin_id: entity_operations
  580. filters: { }
  581. sorts: { }
  582. title: Subscriptions
  583. header: { }
  584. footer: { }
  585. empty:
  586. area:
  587. id: area
  588. table: views
  589. field: area
  590. relationship: none
  591. group_type: group
  592. admin_label: ''
  593. empty: true
  594. tokenize: false
  595. content:
  596. value: 'You don''t have any subscriptions yet.'
  597. format: basic_html
  598. plugin_id: text
  599. relationships: { }
  600. arguments:
  601. uid:
  602. id: uid
  603. table: commerce_subscription
  604. field: uid
  605. relationship: none
  606. group_type: group
  607. admin_label: ''
  608. default_action: 'not found'
  609. exception:
  610. value: all
  611. title_enable: false
  612. title: All
  613. title_enable: false
  614. title: ''
  615. default_argument_type: fixed
  616. default_argument_options:
  617. argument: ''
  618. default_argument_skip_url: false
  619. summary_options:
  620. base_path: ''
  621. count: true
  622. items_per_page: 25
  623. override: false
  624. summary:
  625. sort_order: asc
  626. number_of_records: 0
  627. format: default_summary
  628. specify_validation: true
  629. validate:
  630. type: commerce_current_user
  631. fail: 'not found'
  632. validate_options:
  633. admin_permission: 'administer commerce_subscription'
  634. break_phrase: false
  635. not: false
  636. entity_type: commerce_subscription
  637. entity_field: uid
  638. plugin_id: numeric
  639. display_extenders: { }
  640. cache_metadata:
  641. max-age: -1
  642. contexts:
  643. - 'languages:language_content'
  644. - 'languages:language_interface'
  645. - url
  646. - url.query_args
  647. - user
  648. - user.permissions
  649. tags: { }
  650. page_1:
  651. display_plugin: page
  652. id: page_1
  653. display_title: 'User subscriptions'
  654. position: 1
  655. display_options:
  656. display_extenders: { }
  657. path: user/%user/subscriptions
  658. menu:
  659. type: tab
  660. title: Subscriptions
  661. description: ''
  662. expanded: false
  663. parent: ''
  664. weight: 0
  665. context: '0'
  666. menu_name: account
  667. display_description: ''
  668. cache_metadata:
  669. max-age: -1
  670. contexts:
  671. - 'languages:language_content'
  672. - 'languages:language_interface'
  673. - url
  674. - url.query_args
  675. - user
  676. - user.permissions
  677. tags: { }