langcode: en
status: true
dependencies:
  config:
    - core.entity_view_mode.profile.compact
    - core.entity_view_mode.profile.teaser
  module:
    - node
    - options
    - profile
    - social_event
    - user
id: event_enrollments
label: Enrollments
module: views
description: ''
tag: ''
base_table: profile
base_field: profile_id
display:
  default:
    display_plugin: default
    id: default
    display_title: Master
    position: 0
    display_options:
      access:
        type: perm
        options:
          perm: 'access user profiles'
      cache:
        type: tag
        options: {  }
      query:
        type: views_query
        options:
          disable_sql_rewrite: false
          distinct: true
          replica: false
          query_comment: ''
          query_tags: {  }
      exposed_form:
        type: basic
        options:
          submit_button: Filter
          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: 'entity:profile'
        options:
          relationship: none
          view_mode: compact
      fields:
        rendered_entity:
          table: profile
          field: rendered_entity
          id: rendered_entity
          entity_type: null
          entity_field: null
          plugin_id: rendered_entity
          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
          view_mode: default
      filters:
        field_enrollment_status_value:
          id: field_enrollment_status_value
          table: event_enrollment__field_enrollment_status
          field: field_enrollment_status_value
          relationship: reverse__event_enrollment__field_account
          group_type: group
          admin_label: ''
          operator: or
          value:
            1: '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
            reduce: false
            operator_limit_selection: false
            operator_list: {  }
          is_grouped: false
          group_info:
            label: ''
            description: ''
            identifier: ''
            optional: true
            widget: select
            multiple: false
            remember: false
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
          reduce_duplicates: false
          plugin_id: list_field
      sorts: {  }
      title: Enrollments
      header:
        area_text_custom:
          admin_label: ''
          content: '[social_event:enrolled_users_count]'
          empty: true
          field: area_text_custom
          group_type: group
          id: area_text_custom
          plugin_id: text_custom
          relationship: none
          table: views
          tokenize: false
      footer:
        area:
          id: area
          table: views
          field: area
          plugin_id: text
        area_text_custom:
          id: area_text_custom
          table: views
          field: area_text_custom
          plugin_id: text_custom
        view:
          id: view
          table: views
          field: view
          plugin_id: view
      empty:
        area_text_custom:
          id: area_text_custom
          table: views
          field: area_text_custom
          relationship: none
          group_type: group
          admin_label: ''
          empty: true
          tokenize: false
          content: 'No one has enrolled for this event'
          plugin_id: text_custom
      relationships:
        uid:
          id: uid
          table: profile
          field: uid
          relationship: none
          group_type: group
          admin_label: User
          required: false
          entity_type: profile
          entity_field: uid
          plugin_id: standard
        reverse__event_enrollment__field_account:
          id: reverse__event_enrollment__field_account
          table: users_field_data
          field: reverse__event_enrollment__field_account
          relationship: uid
          group_type: group
          admin_label: field_account
          required: false
          entity_type: user
          plugin_id: entity_reverse
        field_event:
          id: field_event
          table: event_enrollment__field_event
          field: field_event
          relationship: reverse__event_enrollment__field_account
          group_type: group
          admin_label: 'field_event: Content'
          required: false
          plugin_id: standard
      arguments:
        nid:
          id: nid
          table: node_field_data
          field: nid
          relationship: field_event
          group_type: group
          admin_label: ''
          default_action: empty
          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: false
          validate:
            type: none
            fail: 'not found'
          validate_options: {  }
          break_phrase: false
          not: false
          entity_type: node
          entity_field: nid
          plugin_id: node_nid
      display_extenders: {  }
      use_ajax: false
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_interface'
        - url
        - url.query_args
        - user.permissions
      tags:
        - 'config:core.entity_view_display.profile.profile.autocomplete_item'
        - 'config:core.entity_view_display.profile.profile.compact'
        - 'config:core.entity_view_display.profile.profile.compact_notification'
        - 'config:core.entity_view_display.profile.profile.compact_teaser'
        - 'config:core.entity_view_display.profile.profile.default'
        - 'config:core.entity_view_display.profile.profile.hero'
        - 'config:core.entity_view_display.profile.profile.search_index'
        - 'config:core.entity_view_display.profile.profile.small'
        - 'config:core.entity_view_display.profile.profile.small_teaser'
        - 'config:core.entity_view_display.profile.profile.table'
        - 'config:core.entity_view_display.profile.profile.teaser'
  event_enrollments:
    display_plugin: block
    id: event_enrollments
    display_title: Block
    position: 2
    display_options:
      display_extenders: {  }
      block_description: 'Enrollments Block'
      footer: {  }
      defaults:
        footer: false
        style: false
        row: false
        pager: false
        arguments: false
        link_display: false
        link_url: false
        use_more: false
        use_more_always: false
        use_more_text: false
      style:
        type: default
        options: {  }
      row:
        type: 'entity:profile'
        options:
          relationship: none
          view_mode: compact
      pager:
        type: some
        options:
          items_per_page: 12
          offset: 0
      arguments:
        nid:
          id: nid
          table: node_field_data
          field: nid
          relationship: field_event
          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_options: {  }
          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
          entity_type: node
          entity_field: nid
          plugin_id: node_nid
      link_display: custom_url
      link_url: '/node/{{ raw_arguments.nid }}/enrollments'
      use_more: true
      use_more_always: true
      use_more_text: 'All enrollments'
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_interface'
        - url
        - user.permissions
      tags:
        - 'config:core.entity_view_display.profile.profile.autocomplete_item'
        - 'config:core.entity_view_display.profile.profile.compact'
        - 'config:core.entity_view_display.profile.profile.compact_notification'
        - 'config:core.entity_view_display.profile.profile.compact_teaser'
        - 'config:core.entity_view_display.profile.profile.default'
        - 'config:core.entity_view_display.profile.profile.hero'
        - 'config:core.entity_view_display.profile.profile.search_index'
        - 'config:core.entity_view_display.profile.profile.small'
        - 'config:core.entity_view_display.profile.profile.small_teaser'
        - 'config:core.entity_view_display.profile.profile.table'
        - 'config:core.entity_view_display.profile.profile.teaser'
  view_enrollments:
    display_plugin: page
    id: view_enrollments
    display_title: Page
    position: 1
    display_options:
      display_extenders: {  }
      path: node/%node/enrollments
      menu:
        type: tab
        title: Enrollments
        description: ''
        expanded: false
        parent: ''
        weight: 0
        context: '0'
        menu_name: main
      style:
        type: default
        options: {  }
      defaults:
        style: false
        row: false
        pager: false
      row:
        type: 'entity:profile'
        options:
          relationship: none
          view_mode: teaser
      pager:
        type: full
        options:
          items_per_page: 10
          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: 5
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_interface'
        - url
        - url.query_args
        - user.permissions
      tags:
        - 'config:core.entity_view_display.profile.profile.autocomplete_item'
        - 'config:core.entity_view_display.profile.profile.compact'
        - 'config:core.entity_view_display.profile.profile.compact_notification'
        - 'config:core.entity_view_display.profile.profile.compact_teaser'
        - 'config:core.entity_view_display.profile.profile.default'
        - 'config:core.entity_view_display.profile.profile.hero'
        - 'config:core.entity_view_display.profile.profile.search_index'
        - 'config:core.entity_view_display.profile.profile.small'
        - 'config:core.entity_view_display.profile.profile.small_teaser'
        - 'config:core.entity_view_display.profile.profile.table'
        - 'config:core.entity_view_display.profile.profile.teaser'
