langcode: en
status: true
dependencies:
  config:
    - core.entity_view_mode.node.evaluation_attendee
    - flag.flag.saved_event
    - node.type.event
    - votingapi.vote_type.evaluation
  module:
    - datetime
    - flag
    - intercept_event
    - node
    - user
    - votingapi
id: intercept_user_events
label: 'Intercept User Events'
module: views
description: ''
tag: Intercept
base_table: node_field_data
base_field: nid
display:
  default:
    id: default
    display_title: Master
    display_plugin: default
    position: 0
    display_options:
      title: 'Saved Events'
      fields:
        title:
          id: title
          table: node_field_data
          field: title
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: field
          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:
            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
      pager:
        type: some
        options:
          offset: 0
          items_per_page: 1
      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
      access:
        type: perm
        options:
          perm: 'view referenced user event_attendance'
      cache:
        type: tag
        options: {  }
      empty:
        area:
          id: area
          table: views
          field: area
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: text
          empty: true
          content:
            value: 'No recent events.'
            format: basic_html
          tokenize: false
      sorts:
        field_date_time_end_value:
          id: field_date_time_end_value
          table: node__field_date_time
          field: field_date_time_end_value
          plugin_id: datetime
          expose:
            field_identifier: field_date_time_end_value
      arguments:
        field_user_target_id:
          id: field_user_target_id
          table: event_registration__field_user
          field: field_user_target_id
          relationship: reverse__event_registration__field_event
          group_type: group
          admin_label: ''
          plugin_id: numeric
          default_action: default
          exception:
            value: all
            title_enable: false
            title: All
          title_enable: false
          title: ''
          default_argument_type: current_user
          default_argument_options: {  }
          summary_options:
            base_path: ''
            count: true
            override: false
            items_per_page: 25
          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
      filters:
        field_date_time_value:
          id: field_date_time_value
          table: node__field_date_time
          field: field_date_time_value
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: datetime
          operator: '='
          value:
            min: ''
            max: ''
            value: ''
            type: date
          group: 1
          exposed: true
          expose:
            operator_id: field_date_time_value_op
            label: 'Date &amp; Time (field_date_time)'
            description: null
            use_operator: false
            operator: field_date_time_value_op
            operator_limit_selection: false
            operator_list: {  }
            identifier: field_date_time_value
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
            min_placeholder: null
            max_placeholder: null
            placeholder: null
          is_grouped: true
          group_info:
            label: ''
            description: ''
            identifier: field_date_time_value
            optional: true
            widget: radios
            multiple: false
            remember: false
            default_group: All
            default_group_multiple: {  }
            group_items:
              1:
                title: Past
                operator: '<'
                value:
                  min: ''
                  max: ''
                  value: now
                  type: date
              2:
                title: Upcoming
                operator: '>='
                value:
                  min: ''
                  max: ''
                  value: now
                  type: date
        status:
          id: status
          table: node_field_data
          field: status
          entity_type: node
          entity_field: status
          plugin_id: boolean
          value: '1'
          group: 1
          expose:
            operator: ''
            operator_limit_selection: false
            operator_list: {  }
        type:
          id: type
          table: node_field_data
          field: type
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: node
          entity_field: type
          plugin_id: bundle
          operator: in
          value:
            event: event
          group: 1
          exposed: false
          expose:
            operator_id: ''
            label: ''
            description: ''
            use_operator: false
            operator: ''
            operator_limit_selection: false
            operator_list: {  }
            identifier: ''
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
            reduce: false
          is_grouped: false
          group_info:
            label: ''
            description: ''
            identifier: ''
            optional: true
            widget: select
            multiple: false
            remember: false
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
      filter_groups:
        operator: AND
        groups:
          1: AND
          2: OR
          3: AND
      style:
        type: html_list
        options:
          row_class: list__item
          default_row_class: false
          uses_fields: false
          type: ol
          wrapper_class: list__wrapper
          class: list--content
      row:
        type: 'entity:node'
        options:
          relationship: none
          view_mode: evaluation_attendee
      query:
        type: views_query
        options:
          query_comment: ''
          disable_sql_rewrite: false
          distinct: false
          replica: false
          query_tags: {  }
      relationships:
        reverse__event_registration__field_event:
          id: reverse__event_registration__field_event
          table: node_field_data
          field: reverse__event_registration__field_event
          relationship: none
          group_type: group
          admin_label: 'Event registration'
          entity_type: node
          plugin_id: entity_reverse
          required: false
        reverse__event_attendance__field_event:
          id: reverse__event_attendance__field_event
          table: node_field_data
          field: reverse__event_attendance__field_event
          relationship: none
          group_type: group
          admin_label: 'Event attendance'
          entity_type: node
          plugin_id: entity_reverse
          required: false
        flag_relationship:
          id: flag_relationship
          table: node_field_data
          field: flag_relationship
          relationship: none
          group_type: group
          admin_label: Flags
          entity_type: node
          plugin_id: flag_relationship
          required: false
          flag: saved_event
          user_scope: current
        vote_relationship:
          id: vote_relationship
          table: node_field_data
          field: vote_relationship
          relationship: none
          group_type: group
          admin_label: Votes
          entity_type: node
          plugin_id: vote_relationship
          required: false
          vote: evaluation
          user_scope: current
      use_ajax: true
      group_by: true
      header: {  }
      footer: {  }
      display_extenders: {  }
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_content'
        - 'languages:language_interface'
        - url
        - user
        - 'user.node_grants:view'
        - user.permissions
      tags: {  }
  embed_recent_events:
    id: embed_recent_events
    display_title: 'User recent events'
    display_plugin: embed
    position: 2
    display_options:
      empty: {  }
      sorts:
        field_date_time_end_value:
          id: field_date_time_end_value
          table: node__field_date_time
          field: field_date_time_end_value
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: datetime
          order: DESC
          expose:
            label: ''
            field_identifier: field_date_time_end_value
          exposed: false
          granularity: second
      filters:
        status:
          id: status
          table: node_field_data
          field: status
          entity_type: node
          entity_field: status
          plugin_id: boolean
          value: '1'
          group: 1
          expose:
            operator: ''
            operator_limit_selection: false
            operator_list: {  }
        type:
          id: type
          table: node_field_data
          field: type
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: node
          entity_field: type
          plugin_id: bundle
          operator: in
          value:
            event: event
          group: 1
          exposed: false
          expose:
            operator_id: ''
            label: ''
            description: ''
            use_operator: false
            operator: ''
            operator_limit_selection: false
            operator_list: {  }
            identifier: ''
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
            reduce: false
          is_grouped: false
          group_info:
            label: ''
            description: ''
            identifier: ''
            optional: true
            widget: select
            multiple: false
            remember: false
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
        field_date_time_end_value:
          id: field_date_time_end_value
          table: node__field_date_time
          field: field_date_time_end_value
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: datetime
          operator: between
          value:
            min: '-2 weeks'
            max: now
            value: ''
            type: offset
          group: 1
          exposed: false
          expose:
            operator_id: ''
            label: ''
            description: ''
            use_operator: false
            operator: ''
            operator_limit_selection: false
            operator_list: {  }
            identifier: ''
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
            min_placeholder: ''
            max_placeholder: ''
            placeholder: ''
          is_grouped: false
          group_info:
            label: ''
            description: ''
            identifier: ''
            optional: true
            widget: select
            multiple: false
            remember: false
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
        value:
          id: value
          table: votingapi_vote
          field: value
          relationship: vote_relationship
          group_type: group
          admin_label: ''
          entity_type: vote
          entity_field: value
          plugin_id: numeric
          operator: empty
          value:
            min: ''
            max: ''
            value: ''
          group: 1
          exposed: false
          expose:
            operator_id: ''
            label: ''
            description: ''
            use_operator: false
            operator: ''
            operator_limit_selection: false
            operator_list: {  }
            identifier: ''
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
            min_placeholder: ''
            max_placeholder: ''
            placeholder: ''
          is_grouped: false
          group_info:
            label: ''
            description: ''
            identifier: ''
            optional: true
            widget: select
            multiple: false
            remember: false
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
      filter_groups:
        operator: AND
        groups:
          1: AND
      defaults:
        empty: false
        sorts: false
        filters: false
        filter_groups: false
      display_description: 'User dashboard recent events'
      display_extenders: {  }
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_content'
        - 'languages:language_interface'
        - url
        - user
        - 'user.node_grants:view'
        - user.permissions
      tags: {  }
