Created
June 28, 2018 11:34
-
-
Save ndeet/3b18ebf98234ca8b7d7f7794c695de74 to your computer and use it in GitHub Desktop.
Drupal Commerce 2 view with relationships to output each address component as field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uuid: 7074647f-9a97-4aba-a672-3e60beac3f3a | |
| langcode: en | |
| status: true | |
| dependencies: | |
| module: | |
| - address | |
| - commerce_order | |
| - profile | |
| - user | |
| id: orderadress | |
| label: orderadress | |
| module: views | |
| description: '' | |
| tag: '' | |
| base_table: commerce_order | |
| base_field: order_id | |
| core: 8.x | |
| display: | |
| default: | |
| display_plugin: default | |
| id: default | |
| display_title: Master | |
| position: 0 | |
| display_options: | |
| access: | |
| type: none | |
| options: { } | |
| 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: mini | |
| options: | |
| items_per_page: 10 | |
| offset: 0 | |
| id: 0 | |
| total_pages: null | |
| 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 | |
| tags: | |
| previous: ‹‹ | |
| next: ›› | |
| style: | |
| type: default | |
| row: | |
| type: fields | |
| fields: | |
| order_number: | |
| table: commerce_order | |
| field: order_number | |
| id: order_number | |
| entity_type: null | |
| entity_field: order_number | |
| plugin_id: field | |
| relationship: none | |
| group_type: group | |
| admin_label: '' | |
| label: '' | |
| 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: string | |
| 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 | |
| address_address_line1: | |
| id: address_address_line1 | |
| table: profile__address | |
| field: address_address_line1 | |
| relationship: profile | |
| group_type: group | |
| admin_label: '' | |
| label: '' | |
| 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: false | |
| element_wrapper_type: '' | |
| element_wrapper_class: '' | |
| element_default_classes: true | |
| empty: '' | |
| hide_empty: false | |
| empty_zero: false | |
| hide_alter_empty: true | |
| plugin_id: standard | |
| address_locality: | |
| id: address_locality | |
| table: profile__address | |
| field: address_locality | |
| relationship: profile | |
| group_type: group | |
| admin_label: '' | |
| label: '' | |
| 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: false | |
| element_wrapper_type: '' | |
| element_wrapper_class: '' | |
| element_default_classes: true | |
| empty: '' | |
| hide_empty: false | |
| empty_zero: false | |
| hide_alter_empty: true | |
| display_name: true | |
| plugin_id: subdivision | |
| address_postal_code: | |
| id: address_postal_code | |
| table: profile__address | |
| field: address_postal_code | |
| plugin_id: standard | |
| relationship: profile | |
| filters: { } | |
| sorts: { } | |
| title: orderadress | |
| header: { } | |
| footer: { } | |
| empty: { } | |
| relationships: | |
| uid: | |
| id: uid | |
| table: commerce_order | |
| field: uid | |
| relationship: none | |
| group_type: group | |
| admin_label: User | |
| required: true | |
| entity_type: commerce_order | |
| entity_field: uid | |
| plugin_id: standard | |
| profile: | |
| id: profile | |
| table: users_field_data | |
| field: profile | |
| relationship: uid | |
| group_type: group | |
| admin_label: Profile | |
| required: true | |
| entity_type: user | |
| plugin_id: standard | |
| profile_type: | |
| id: profile_type | |
| table: users_field_data | |
| field: profile_type | |
| relationship: uid | |
| group_type: group | |
| admin_label: 'Profile Type' | |
| required: true | |
| profile_type: customer | |
| entity_type: user | |
| plugin_id: profile_relationship | |
| arguments: { } | |
| display_extenders: { } | |
| cache_metadata: | |
| max-age: -1 | |
| contexts: | |
| - 'languages:language_content' | |
| - 'languages:language_interface' | |
| - url.query_args | |
| tags: { } | |
| page_1: | |
| display_plugin: page | |
| id: page_1 | |
| display_title: Page | |
| position: 1 | |
| display_options: | |
| display_extenders: { } | |
| path: orderadress | |
| cache_metadata: | |
| max-age: -1 | |
| contexts: | |
| - 'languages:language_content' | |
| - 'languages:language_interface' | |
| - url.query_args | |
| tags: { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment