You are here

views.view.commerce_user_subscriptions.yml in Commerce Recurring Framework 8

config/install/views.view.commerce_user_subscriptions.yml

File

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