views.view.test_comment_hal.yml
File
- 
              core/modules/ hal/ tests/ modules/ hal_test_views/ test_views/ views.view.test_comment_hal.yml 
View source
- langcode: en
- status: true
- dependencies:
-   config:
-     - field.storage.comment.comment_body
-   module:
-     - comment
-     - node
-     - rest
-     - text
-     - user
- id: test_comment_hal
- label: 'Comments by node'
- module: views
- description: ''
- tag: ''
- base_table: comment_field_data
- base_field: cid
- display:
-   default:
-     display_plugin: default
-     id: default
-     display_title: Default
-     position: 0
-     display_options:
-       access:
-         type: perm
-         options:
-           perm: 'access content'
-       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: 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: '‹ Previous'
-             next: 'Next ›'
-             first: '« First'
-             last: 'Last »'
-           quantity: 9
-       style:
-         type: serializer
-       row:
-         type: fields
-         options:
-           inline: {  }
-           separator: ''
-           hide_empty: false
-           default_field_elements: true
-       relationships:
-         node:
-           id: node
-           table: comment_field_data
-           field: node
-           required: true
-           plugin_id: standard
-           relationship: none
-           group_type: group
-           admin_label: Content
-       fields:
-         subject:
-           id: subject
-           table: comment_field_data
-           field: subject
-           relationship: none
-           group_type: group
-           entity_type: comment
-           entity_field: subject
-           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
-           type: string
-           settings:
-             link_to_entity: false
-           plugin_id: field
-         name:
-           id: name
-           table: comment_field_data
-           field: name
-           entity_type: comment
-           entity_field: name
-           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: false
-           element_wrapper_type: ''
-           element_wrapper_class: ''
-           element_default_classes: true
-           empty: ''
-           hide_empty: false
-           empty_zero: false
-           hide_alter_empty: true
-           plugin_id: field
-           type: comment_username
-         created:
-           id: created
-           table: comment_field_data
-           field: created
-           entity_type: comment
-           entity_field: created
-           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: false
-           element_wrapper_type: ''
-           element_wrapper_class: ''
-           element_default_classes: true
-           empty: ''
-           hide_empty: false
-           empty_zero: false
-           hide_alter_empty: true
-           type: timestamp
-           settings:
-             date_format: long
-             custom_date_format: ''
-             timezone: ''
-           plugin_id: field
-         comment_body:
-           id: comment_body
-           table: comment__comment_body
-           field: comment_body
-           relationship: none
-           entity_type: comment
-           entity_field: comment_body
-           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
-           click_sort_column: value
-           type: text_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
-           plugin_id: field
-       filters: {  }
-       sorts:
-         cid:
-           id: cid
-           table: comment_field_data
-           field: cid
-           relationship: none
-           group_type: group
-           admin_label: ''
-           order: ASC
-           exposed: false
-           expose:
-             label: ''
-           entity_type: comment
-           entity_field: cid
-           plugin_id: standard
-       header: {  }
-       footer: {  }
-       empty: {  }
-       arguments:
-         nid:
-           id: nid
-           table: node_field_data
-           field: nid
-           relationship: node
-           group_type: group
-           admin_label: ''
-           default_action: default
-           exception:
-             value: all
-             title_enable: false
-             title: All
-           title_enable: false
-           title: ''
-           default_argument_type: node
-           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: false
-           validate:
-             type: none
-             fail: 'not found'
-           validate_options: {  }
-           break_phrase: false
-           not: false
-           plugin_id: numeric
-       display_extenders: {  }
-   rest_export_1:
-     display_plugin: rest_export
-     id: rest_export_1
-     display_title: 'REST export'
-     position: 1
-     display_options:
-       path: node/%node/comments
-       pager:
-         type: some
-         options:
-           items_per_page: 10
-           offset: 0
-       style:
-         type: serializer
-         options:
-           uses_fields: false
-           formats:
-             hal_json: hal_json
-       row:
-         type: data_field
-         options:
-           field_options:
-             subject:
-               alias: ''
-               raw_output: true
-             name:
-               alias: ''
-               raw_output: true
-       display_extenders: {  }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
