message_thread-8.x-1.x-dev/config/install/views.view.conversations.yml

config/install/views.view.conversations.yml
langcode: en
status: true
dependencies:
  config:
    - field.storage.message_thread.field_thread_participants
    - field.storage.message_thread.field_thread_title
    - message_thread.template.conversation
  module:
    - message_thread
    - user
_core:
  default_config_hash: aRS7Mqf_xk1HwqOeqK7NTPslQUTaNXpSD4tzeCF2mKw
id: conversations
label: Messages
module: views
description: ''
tag: ''
base_table: message_thread_field_data
base_field: thread_id
core: 8.x
display:
  default:
    display_plugin: default
    id: default
    display_title: Master
    position: 0
    display_options:
      access:
        type: perm
        options:
          perm: 'create and receive conversation message threads'
      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: table
        options:
          grouping: {  }
          row_class: ''
          default_row_class: true
          override: true
          sticky: false
          caption: ''
          summary: ''
          description: ''
          columns:
            field_thread_title: field_thread_title
          info:
            field_thread_title:
              sortable: false
              default_sort_order: asc
              align: ''
              separator: ''
              empty_column: false
              responsive: ''
          default: '-1'
          empty_table: false
      row:
        type: fields
        options:
          default_field_elements: true
          inline: {  }
          separator: ''
          hide_empty: false
      fields:
        field_thread_title:
          id: field_thread_title
          table: message_thread__field_thread_title
          field: field_thread_title
          relationship: none
          group_type: group
          admin_label: ''
          label: Conversation
          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: string
          settings:
            link_to_entity: 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
          plugin_id: field
        field_thread_participants:
          id: field_thread_participants
          table: message_thread__field_thread_participants
          field: field_thread_participants
          relationship: none
          group_type: group
          admin_label: ''
          label: Participants
          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: true
          group_column: target_id
          group_columns: {  }
          group_rows: true
          delta_limit: 0
          delta_offset: 0
          delta_reversed: false
          delta_first_last: false
          multi_type: ul
          separator: ', '
          field_api_classes: false
          plugin_id: field
      filters:
        template:
          id: template
          table: message_thread_field_data
          field: template
          value:
            conversation: conversation
          entity_type: message_thread
          entity_field: template
          plugin_id: bundle
      sorts: {  }
      title: Messages
      header: {  }
      footer: {  }
      empty: {  }
      relationships: {  }
      arguments:
        field_thread_participants_target_id:
          id: field_thread_participants_target_id
          table: message_thread__field_thread_participants
          field: field_thread_participants_target_id
          relationship: none
          group_type: group
          admin_label: ''
          default_action: default
          exception:
            value: all
            title_enable: false
            title: All
          title_enable: false
          title: ''
          default_argument_type: user
          default_argument_options:
            user: false
          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: 'entity:user'
            fail: 'not found'
          validate_options:
            access: true
            operation: view
            multiple: 0
            restrict_roles: false
            roles: {  }
          break_phrase: false
          not: false
          plugin_id: numeric
      display_extenders: {  }
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_content'
        - 'languages:language_interface'
        - url
        - url.query_args
        - user.permissions
      tags:
        - 'config:field.storage.message_thread.field_thread_participants'
        - 'config:field.storage.message_thread.field_thread_title'
  block_1:
    display_plugin: block
    id: block_1
    display_title: Inbox
    position: 2
    display_options:
      display_extenders: {  }
      display_description: ''
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_content'
        - 'languages:language_interface'
        - url
        - url.query_args
        - user.permissions
      tags:
        - 'config:field.storage.message_thread.field_thread_participants'
        - 'config:field.storage.message_thread.field_thread_title'
  block_2:
    display_plugin: block
    id: block_2
    display_title: Sent
    position: 3
    display_options:
      display_extenders: {  }
      display_description: ''
      filters:
        template:
          id: template
          table: message_thread_field_data
          field: template
          value:
            conversation: conversation
          entity_type: message_thread
          entity_field: template
          plugin_id: bundle
        uid_current:
          id: uid_current
          table: users
          field: uid_current
          relationship: uid
          group_type: group
          admin_label: ''
          operator: '='
          value: '1'
          group: 1
          exposed: false
          expose:
            operator_id: ''
            label: ''
            description: ''
            use_operator: false
            operator: ''
            identifier: ''
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
          is_grouped: false
          group_info:
            label: ''
            description: ''
            identifier: ''
            optional: true
            widget: select
            multiple: false
            remember: false
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
          entity_type: user
          plugin_id: user_current
      defaults:
        filters: false
        filter_groups: false
        relationships: false
      filter_groups:
        operator: AND
        groups:
          1: AND
      relationships:
        uid:
          id: uid
          table: message_thread_field_data
          field: uid
          relationship: none
          group_type: group
          admin_label: User
          required: true
          entity_type: message_thread
          entity_field: uid
          plugin_id: standard
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_content'
        - 'languages:language_interface'
        - url
        - url.query_args
        - user
        - user.permissions
      tags:
        - 'config:field.storage.message_thread.field_thread_participants'
        - 'config:field.storage.message_thread.field_thread_title'
  page_1:
    display_plugin: page
    id: page_1
    display_title: Page
    position: 1
    display_options:
      display_extenders: {  }
      path: user/%user/conversations
      menu:
        type: tab
        title: Messages
        description: ''
        expanded: false
        parent: user.page
        weight: 0
        context: '0'
        menu_name: account
      tab_options:
        type: none
        title: ''
        description: ''
        weight: 0
      empty:
        area:
          id: area
          table: views
          field: area
          relationship: none
          group_type: group
          admin_label: ''
          empty: true
          tokenize: false
          content:
            value: '<a href="/message/thread/add/conversation">Start a new conversation</a>'
            format: basic_html
          plugin_id: text
      defaults:
        empty: false
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_content'
        - 'languages:language_interface'
        - url
        - url.query_args
        - user.permissions
      tags:
        - 'config:field.storage.message_thread.field_thread_participants'
        - 'config:field.storage.message_thread.field_thread_title'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc