Skip to content
views.view.who_s_online.yml 5.21 KiB
Newer Older
base_field: uid
base_table: users
core: 8.x
description: 'Shows the user names of the most recently active users, and the total number of active users.'
display:
  default:
    display_plugin: default
    id: default
    display_title: Master
    display_options:
      access:
        type: perm
        options:
          perm: 'access user profiles'
          disable_sql_rewrite: false
          distinct: false
          slave: false
          query_comment: false
      exposed_form:
        type: basic
        options:
          submit_button: Apply
          reset_button_label: Reset
          exposed_sorts_label: 'Sort by'
          sort_asc_label: Asc
          sort_desc_label: Desc
      style:
        type: html_list
        options:
          grouping: {  }
          row_class: ''
          type: ul
          wrapper_class: item-list
          class: ''
      fields:
        name:
          id: name
          table: users
          field: name
          label: ''
            alter_text: false
            make_link: false
            absolute: false
            trim: false
            word_boundary: false
            ellipsis: false
            strip_tags: false
            html: false
          hide_empty: false
          empty_zero: false
          link_to_user: true
          overwrite_anonymous: false
          relationship: none
          group_type: group
          admin_label: ''
          element_type: ''
          element_class: ''
          element_label_type: ''
          element_label_class: ''
          element_wrapper_type: ''
          element_wrapper_class: ''
          table: users
          field: status
          id: status
          expose:
            operator: '0'
        access:
          id: access
          table: users
          field: access
          relationship: none
          group_type: group
          admin_label: ''
          operator: '>='
          value:
            min: ''
            max: ''
            value: '-15 minutes'
            type: offset
          expose:
            operator_id: access_op
            label: 'Last access'
            description: 'A user is considered online for this long after they have last viewed a page.'
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
              anonymous: '0'
              administrator: '0'
          group_info:
            label: ''
            description: ''
            identifier: ''
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
          plugin_id: date
      sorts:
        access:
          id: access
          table: users
          field: access
          order: DESC
          relationship: none
          group_type: group
          admin_label: ''
          expose:
            label: ''
          granularity: second
          provider: views
          plugin_id: date
      title: 'Who''s online'
      header:
        result:
          id: result
          table: views
          field: result
          relationship: none
          group_type: group
          admin_label: ''
          content: 'There are currently @total users online.'
          plugin_id: result
      footer: {  }
      empty:
        area_text_custom:
          id: area_text_custom
          table: views
          field: area_text_custom
          relationship: none
          group_type: group
          admin_label: ''
          content: 'There are currently 0 users online.'
          plugin_id: text_custom
      relationships: {  }
      arguments: {  }
  who_s_online_block:
    display_plugin: block
    id: who_s_online_block
    display_title: 'Who''s online'
    display_options:
      block_description: 'Who''s online'
      display_description: 'A list of users that are currently logged in.'
label: 'Who''s online block'