Commit c7b7c3e5 authored by Tim Plunkett's avatar Tim Plunkett
Browse files

Issue #1805996 by dawehner, tim.plunkett, damiankloip, xjm, et al: Add Views and Views UI to core.

parents 43cd7924 4942a158
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
debug:
  output: '0'
  region: 'footer'
display_extenders: { }
no_javascript: '0'
skip_cache: '0'
sql_signature: '0'
ui:
  show:
    additional_queries: '0'
    advanced_column: '0'
    listing_filters: '0'
    master_display: '0'
    performance_statistics: '0'
    preview_information: '1'
    sql_query:
      enabled: '0'
      where: 'above'
    display_embed: '0'
  custom_theme: '_default'
  always_live_preview: '1'
  always_live_preview_button: '1'
  exposed_filter_any_label: 'new_any'
field_rewrite_elements:
  div: DIV
  span: SPAN
  h1: H1
  h2: H2
  h3: H3
  h4: H4
  h5: H5
  h6: H6
  p: P
  strong: STRONG
  em: EM
+103 −0
Original line number Diff line number Diff line
disabled: true
api_version: '3.0'
module: node
name: archive
description: 'Display a list of months that link to content for that month.'
tag: default
base_table: node
human_name: Archive
core: '8'
display:
  default:
    id: default
    display_title: Master
    display_plugin: default
    position: '1'
    display_options:
      query:
        type: views_query
        options:
          query_comment: false
      title: 'Monthly archive'
      access:
        type: none
      cache:
        type: none
      exposed_form:
        type: basic
      pager:
        type: full
      sorts:
        created:
          id: created
          table: node
          field: created
          order: DESC
      arguments:
        created_year_month:
          id: created_year_month
          table: node
          field: created_year_month
          default_action: summary
          exception:
            title_enable: 1
          title_enable: 1
          title: '%1'
          default_argument_type: fixed
          summary:
            sort_order: desc
            format: default_summary
          summary_options:
            override: true
            items_per_page: '30'
          specify_validation: 1
      filters:
        status:
          id: status
          table: node
          field: status
          value: 1
          group: 0
          expose:
            operator: false
      style:
        type: default
      row:
        type: node
  page_1:
    id: page_1
    display_title: Page
    display_plugin: page
    position: '2'
    display_options:
      query:
        type: views_query
        options: {  }
      path: archive
  block_1:
    id: block_1
    display_title: Block
    display_plugin: block
    position: '3'
    display_options:
      query:
        type: views_query
        options: {  }
      defaults:
        arguments: false
      arguments:
        created_year_month:
          id: created_year_month
          table: node
          field: created_year_month
          default_action: summary
          exception:
            title_enable: 1
          title_enable: 1
          title: '%1'
          default_argument_type: fixed
          summary:
            format: default_summary
          summary_options:
            items_per_page: '30'
          specify_validation: 1
+123 −0
Original line number Diff line number Diff line
disabled: true
api_version: '3.0'
module: search
name: backlinks
description: 'Displays a list of nodes that link to the node, using the search backlinks table.'
tag: default
base_table: node
human_name: Backlinks
core: '8'
display:
  default:
    id: default
    display_title: Master
    display_plugin: default
    position: '1'
    display_options:
      query:
        type: views_query
        options:
          query_comment: false
      access:
        type: none
      cache:
        type: none
      exposed_form:
        type: basic
      pager:
        type: full
        options:
          items_per_page: 30
      empty:
        text:
          id: area
          table: views
          field: area
          empty: false
          content: 'No backlinks found.'
          format: '1'
      fields:
        title:
          id: title
          table: node
          field: title
          label: ''
          link_to_node: 1
      arguments:
        nid:
          id: nid
          table: search_node_links_to
          field: nid
          default_action: 'not found'
          title_enable: 1
          title: 'Pages that link to %1'
          default_argument_type: fixed
          summary:
            format: default_summary
          specify_validation: 1
          validate:
            type: node
      filters:
        status:
          id: status
          table: node
          field: status
          value: 1
          group: 0
          expose:
            operator: false
      style:
        type: html_list
        options:
          type: ol
      row:
        type: fields
  page_1:
    id: page_1
    display_title: Page
    display_plugin: page
    position: '2'
    display_options:
      query:
        type: views_query
        options: {  }
      path: node/%/backlinks
      menu:
        type: tab
        title: 'What links here'
        weight: '0'
  block_1:
    id: block
    display_title: 'What links here'
    display_plugin: block
    position: '3'
    display_options:
      query:
        type: views_query
        options: {  }
        defaults:
          use_more: false
          style_plugin: false
          style_options: false
          row_plugin: false
          row_options: false
          arguments: false
      use_more: true
      arguments:
        nid:
          id: nid
          table: search_node_links_to
          field: nid
          default_action: default
          title_enable: 1
          title: 'What links here'
          default_argument_type: node
          summary:
            format: default_summary
          specify_validation: 1
          validate:
            type: node
      style:
        type: html_list
      row:
        type: fields
+126 −0
Original line number Diff line number Diff line
disabled: true
api_version: '3.0'
module: comment
name: comments_recent
description: 'Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.'
tag: default
base_table: comment
human_name: 'Recent comments'
core: '8'
display:
  default:
    id: default
    display_title: Master
    display_plugin: default
    position: '1'
    display_options:
      query:
        type: views_query
        options:
          query_comment: false
      title: 'Recent comments'
      use_more: true
      access:
        type: none
      cache:
        type: none
      exposed_form:
        type: basic
      pager:
        type: some
        options:
          items_per_page: 5
      relationships:
        nid:
          id: nid
          table: comment
          field: nid
      fields:
        subject:
          id: subject
          table: comment
          field: subject
          label: ''
          link_to_comment: 1
        timestamp:
          id: timestamp
          table: comment
          field: changed
          label: ''
          date_format: 'time ago'
      sorts:
        timestamp:
          id: timestamp
          table: comment
          field: changed
          order: DESC
      filters:
        status_extra:
          id: status_extra
          table: node
          field: status_extra
          relationship: nid
          group: 0
      style:
        type: html_list
      row:
        type: fields
  page_1:
    id: page_1
    display_title: Page
    display_plugin: page
    position: '2'
    display_options:
      query:
        type: views_query
        options: {  }
      defaults:
        style_plugin: false
        style_options: false
        row_plugin: false
        row_options: false
        fields: false
      fields:
        title:
          id: title
          table: node
          field: title
          relationship: nid
          label: 'Reply to'
          link_to_node: 1
        timestamp:
          id: timestamp
          table: comment
          field: changed
          label: ''
          date_format: 'time ago'
        subject:
          id: subject
          table: comment
          field: subject
          label: ''
          link_to_comment: 1
        comment:
          id: comment
          table: field_data_comment_body
          field: comment_body
          label: ''
      path: comments/recent
      style:
        type: html_list
      row:
        type: fields
        options:
          inline:
            title: title
            timestamp: timestamp
            separator: ' '
  block_1:
    id: block_1
    display_title: Block
    display_plugin: block
    position: '3'
    display_options:
      query:
        type: views_query
        options: {  }
+95 −0
Original line number Diff line number Diff line
disabled: true
api_version: '3.0'
module: node
name: frontpage
description: 'Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.'
tag: default
base_table: node
human_name: 'Front page'
core: '8'
display:
  default:
    id: default
    display_title: Master
    display_plugin: default
    position: '1'
    display_options:
      query:
        type: views_query
        options:
          query_comment: false
      access:
        type: none
      cache:
        type: none
      exposed_form:
        type: basic
      pager:
        type: full
      style:
        type: default
      row:
        type: node
        options:
          links: 1
      sorts:
        sticky:
          id: sticky
          table: node
          field: sticky
          order: DESC
        created:
          id: created
          table: node
          field: created
          order: DESC
      filters:
        promote:
          id: promote
          table: node
          field: promote
          value: '1'
          group: 0
          expose:
            operator: false
        status:
          id: status
          table: node
          field: status
          value: '1'
          group: 0
          expose:
            operator: false
  page_1:
    id: page_1
    display_title: Page
    display_plugin: page
    position: '2'
    display_options:
      query:
        type: views_query
        options: {  }
      path: frontpage
  feed_1:
    id: feed_1
    display_title: Feed
    display_plugin: feed
    position: '3'
    display_options:
      query:
        type: views_query
        options: {  }
      defaults:
        title: false
      title: 'Front page feed'
      pager:
        type: some
      style:
        type: rss
      row:
        type: node_rss
      path: rss.xml
      displays:
        default: default
        page: page
      sitename_title: '1'
Loading