views.view.commerce_user_subscriptions.yml in Commerce Recurring Framework 8
config/install/views.view.commerce_user_subscriptions.yml
1 string reference to 'views.view.commerce_user_subscriptions'
- commerce_recurring_post_update_3 in ./
commerce_recurring.post_update.php - Add the new 'User subscriptions' view.
File
config/install/views.view.commerce_user_subscriptions.ymlView source
- langcode: en
- status: true
- dependencies:
- module:
- - commerce_recurring
- - options
- - user
- id: commerce_user_subscriptions
- label: 'User subscriptions'
- module: views
- description: 'Display a list of subscriptions for a user.'
- tag: Commerce
- base_table: commerce_subscription
- base_field: subscription_id
- display:
- default:
- display_plugin: default
- id: default
- display_title: Master
- position: 0
- display_options:
- access:
- type: perm
- options:
- perm: 'view own commerce_subscription'
- cache:
- type: tag
- options: { }
- query:
- type: views_query
- options:
- disable_sql_rewrite: false
- distinct: false
- replica: false
- query_comment: ''
- query_tags: { }
- exposed_form:
- type: basic
- options:
- submit_button: Apply
- reset_button: false
- reset_button_label: Reset
- exposed_sorts_label: 'Sort by'
- expose_sort_order: true
- sort_asc_label: Asc
- sort_desc_label: Desc
- pager:
- type: full
- options:
- items_per_page: 25
- offset: 0
- id: 0
- total_pages: null
- tags:
- previous: '‹ Previous'
- next: 'Next ›'
- first: '« First'
- last: 'Last »'
- expose:
- items_per_page: false
- items_per_page_label: 'Items per page'
- items_per_page_options: '5, 10, 25, 50'
- items_per_page_options_all: false
- items_per_page_options_all_label: '- All -'
- offset: false
- offset_label: Offset
- quantity: 9
- style:
- type: table
- options:
- grouping: { }
- row_class: ''
- default_row_class: true
- override: true
- sticky: false
- caption: ''
- summary: ''
- description: ''
- columns:
- subscription_id: subscription_id
- title: title
- billing_schedule: billing_schedule
- state: state
- starts: starts
- ends: ends
- operations: operations
- info:
- subscription_id:
- sortable: false
- default_sort_order: asc
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- title:
- sortable: false
- default_sort_order: asc
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- billing_schedule:
- sortable: false
- default_sort_order: asc
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- state:
- sortable: false
- default_sort_order: asc
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- starts:
- sortable: false
- default_sort_order: desc
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- ends:
- sortable: false
- default_sort_order: asc
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- operations:
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- default: starts
- empty_table: false
- row:
- type: fields
- fields:
- subscription_id:
- id: subscription_id
- table: commerce_subscription
- field: subscription_id
- relationship: none
- group_type: group
- admin_label: ''
- label: ''
- exclude: true
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: false
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: value
- type: number_integer
- settings:
- thousand_separator: ''
- prefix_suffix: true
- group_column: value
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- entity_type: commerce_subscription
- entity_field: subscription_id
- plugin_id: field
- title:
- id: title
- table: commerce_subscription
- field: title
- relationship: none
- group_type: group
- admin_label: ''
- label: Title
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: true
- path: 'user/{{ arguments.uid }}/subscriptions/{{ subscription_id }}'
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: value
- type: string
- settings:
- link_to_entity: false
- group_column: value
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- entity_type: commerce_subscription
- entity_field: title
- plugin_id: field
- billing_schedule:
- id: billing_schedule
- table: commerce_subscription
- field: billing_schedule
- relationship: none
- group_type: group
- admin_label: ''
- label: 'Billing schedule'
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: target_id
- type: entity_reference_label
- settings:
- link: false
- group_column: target_id
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- entity_type: commerce_subscription
- entity_field: billing_schedule
- plugin_id: field
- state:
- id: state
- table: commerce_subscription
- field: state
- relationship: none
- group_type: group
- admin_label: ''
- label: State
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: value
- type: list_default
- settings: { }
- group_column: value
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- entity_type: commerce_subscription
- entity_field: state
- plugin_id: field
- starts:
- id: starts
- table: commerce_subscription
- field: starts
- relationship: none
- group_type: group
- admin_label: ''
- label: Starts
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: value
- type: timestamp
- settings:
- date_format: custom
- custom_date_format: 'M jS Y H:i:s'
- timezone: ''
- group_column: value
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- entity_type: commerce_subscription
- entity_field: starts
- plugin_id: field
- ends:
- id: ends
- table: commerce_subscription
- field: ends
- relationship: none
- group_type: group
- admin_label: ''
- label: Ends
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: '-'
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: value
- type: timestamp
- settings:
- date_format: custom
- custom_date_format: 'M jS Y H:i:s'
- timezone: ''
- group_column: value
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- entity_type: commerce_subscription
- entity_field: ends
- plugin_id: field
- operations:
- id: operations
- table: commerce_subscription
- field: operations
- relationship: none
- group_type: group
- admin_label: ''
- label: Operations
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- destination: false
- entity_type: commerce_subscription
- plugin_id: entity_operations
- filters: { }
- sorts:
- starts:
- id: starts
- table: commerce_subscription
- field: starts
- relationship: none
- group_type: group
- admin_label: ''
- order: DESC
- exposed: false
- expose:
- label: ''
- granularity: second
- entity_type: commerce_subscription
- entity_field: starts
- plugin_id: date
- title: Subscriptions
- header: { }
- footer: { }
- empty:
- area:
- id: area
- table: views
- field: area
- relationship: none
- group_type: group
- admin_label: ''
- empty: true
- tokenize: false
- content:
- value: 'You don''t have any subscriptions yet.'
- format: basic_html
- plugin_id: text
- relationships: { }
- arguments:
- uid:
- id: uid
- table: commerce_subscription
- field: uid
- relationship: none
- group_type: group
- admin_label: ''
- default_action: 'not found'
- exception:
- value: all
- title_enable: false
- title: All
- title_enable: false
- title: ''
- default_argument_type: fixed
- default_argument_options:
- argument: ''
- default_argument_skip_url: false
- summary_options:
- base_path: ''
- count: true
- items_per_page: 25
- override: false
- summary:
- sort_order: asc
- number_of_records: 0
- format: default_summary
- specify_validation: true
- validate:
- type: commerce_current_user
- fail: 'not found'
- validate_options:
- admin_permission: 'administer commerce_subscription'
- break_phrase: false
- not: false
- entity_type: commerce_subscription
- entity_field: uid
- plugin_id: numeric
- display_extenders: { }
- cache_metadata:
- max-age: -1
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - url
- - url.query_args
- - user
- - user.permissions
- tags: { }
- page_1:
- display_plugin: page
- id: page_1
- display_title: 'User subscriptions'
- position: 1
- display_options:
- display_extenders: { }
- path: user/%user/subscriptions
- menu:
- type: tab
- title: Subscriptions
- description: ''
- expanded: false
- parent: ''
- weight: 0
- context: '0'
- menu_name: account
- display_description: ''
- cache_metadata:
- max-age: -1
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - url
- - url.query_args
- - user
- - user.permissions
- tags: { }