langcode: en
status: true
dependencies:
  config:
    - core.entity_view_mode.media.media_library
  module:
    - acquia_dam
    - media_library
    - user
    - views_remote_data
id: acquia_dam_asset_library
label: 'Acquia DAM Asset Library'
module: views
description: 'Media Library display'
tag: ''
base_table: acquia_dam_assets
base_field: ''
display:
  default:
    id: default
    display_title: Default
    display_plugin: default
    position: 0
    display_options:
      fields:
        media_library_select_form:
          id: media_library_select_form
          table: acquia_dam_assets
          field: media_library_select_form
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: acquia_dam_media_library_select_form
          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: false
          element_wrapper_type: ''
          element_wrapper_class: ''
          element_default_classes: true
          empty: ''
          hide_empty: false
          empty_zero: false
          hide_alter_empty: true
        rendered_entity:
          id: rendered_entity
          table: acquia_dam_assets
          field: rendered_entity
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: media
          plugin_id: rendered_entity
          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: false
          element_wrapper_type: ''
          element_wrapper_class: ''
          element_default_classes: true
          empty: ''
          hide_empty: false
          empty_zero: false
          hide_alter_empty: true
          view_mode: media_library
      pager:
        type: full
        options:
          offset: 0
          items_per_page: 12
          total_pages: null
          id: 0
          tags:
            next: ››
            previous: ‹‹
            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: 4
      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: 'access media overview'
      cache:
        # NOTE: This is done on purpose:
        # - Without, the result cache is never invalidated and will not display new items
        # - With it, the results for filters and sorts are returning incorrect cached results.
        type: none
        options: {  }
      empty:
        acquia_dam_no_results_text:
          id: acquia_dam_no_results_text
          table: acquia_dam_assets
          field: acquia_dam_no_results_text
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: acquia_dam_text_custom
          empty: true
      sorts: {  }
      arguments:
        FileType:
          id: FileType
          table: acquia_dam_assets
          field: FileType
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: acquia_dam_asset_type
          default_action: ignore
          exception:
            value: all
            title_enable: false
            title: All
          title_enable: false
          title: ''
          default_argument_type: fixed
          default_argument_options:
            argument: ''
          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: {  }
      filters:
        search:
          id: search
          table: acquia_dam_assets
          field: search
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: asset_search_filter
          operator: '='
          value: ''
          group: 1
          exposed: true
          expose:
            operator_id: ''
            label: Search
            description: ''
            use_operator: false
            operator: search_op
            operator_limit_selection: false
            operator_list: {  }
            identifier: search
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
              administrator: '0'
              developer: '0'
              site_builder: '0'
              content_administrator: '0'
              content_author: '0'
              content_editor: '0'
              user_administrator: '0'
              anonymous: '0'
          is_grouped: false
          group_info:
            label: ''
            description: ''
            identifier: ''
            optional: true
            widget: select
            multiple: false
            remember: false
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
        category:
          id: category
          table: acquia_dam_assets
          field: category
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: media
          plugin_id: asset_category_filter
          operator: '='
          value: ''
          group: 1
          exposed: true
          expose:
            operator_id: category_op
            label: Category
            description: ''
            use_operator: false
            operator: category_op
            operator_limit_selection: false
            operator_list: {  }
            identifier: category
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
              anonymous: '0'
              content_editor: '0'
              administrator: '0'
          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
      style:
        type: default
        options:
          grouping: {  }
          row_class: ''
          default_row_class: true
          uses_fields: false
      row:
        type: fields
        options:
          default_field_elements: true
          inline: {  }
          separator: ''
          hide_empty: false
      query:
        type: views_query
        options: {  }
      relationships: {  }
      use_ajax: true
      header:
        messages:
          id: messages
          table: views
          field: messages
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: messages
          empty: true
        display_link:
          id: display_link
          table: views
          field: display_link
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: display_link
          label: Grid
          empty: true
          display_id: widget
        display_link_1:
          id: display_link_1
          table: views
          field: display_link
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: display_link
          label: Table
          empty: true
          display_id: widget_table
        result:
          id: result
          table: views
          field: result
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: result
          empty: true
          content: 'Displaying @start - @end of @total'
      footer: {  }
      display_extenders: {  }
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_interface'
        - url
        - url.query_args
        - user.permissions
      tags:
        - views_remote_data
  widget:
    id: widget
    display_title: Widget
    display_plugin: page
    position: 2
    display_options:
      display_description: ''
      header:
        display_link:
          id: display_link
          table: views
          field: display_link
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: display_link
          label: Grid
          empty: true
          display_id: widget
        display_link_1:
          id: display_link_1
          table: views
          field: display_link
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: display_link
          label: Table
          empty: true
          display_id: widget_table
      display_extenders: {  }
      path: admin/content/media-dam-widget
    cache_metadata:
      max-age: -1
      contexts:
        - 'languages:language_interface'
        - url
        - url.query_args
        - user.permissions
      tags:
        - views_remote_data
  widget_table:
    id: widget_table
    display_title: 'Widget table'
    display_plugin: page
    position: 2
    display_options:
      fields:
        media_library_select_form:
          id: media_library_select_form
          table: acquia_dam_assets
          field: media_library_select_form
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: acquia_dam_media_library_select_form
          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: false
          element_wrapper_type: ''
          element_wrapper_class: ''
          element_default_classes: true
          empty: ''
          hide_empty: false
          empty_zero: false
          hide_alter_empty: true
        asset_id:
          id: asset_id
          table: acquia_dam_assets
          field: asset_id
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: media
          entity_field: acquia_dam_asset_id
          plugin_id: field
          label: Thumbnail
          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: asset_id
          type: acquia_dam_embed_code
          settings:
            embed_style: remotely_referenced_thumbnail_image
            thumbnail_width: 300
          group_column: ''
          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
        filename:
          id: filename
          table: acquia_dam_assets
          field: filename
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: standard
          label: Filename
          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
      style:
        type: table
        options:
          grouping: {  }
          row_class: ''
          default_row_class: true
          columns:
            media_library_select_form: media_library_select_form
            thumbnail: thumbnail
          default: '-1'
          info:
            media_library_select_form:
              align: ''
              separator: ''
              empty_column: false
              responsive: ''
            thumbnail:
              sortable: false
              default_sort_order: asc
              align: ''
              separator: ''
              empty_column: false
              responsive: ''
          override: true
          sticky: false
          summary: ''
          empty_table: false
          caption: ''
          description: ''
      row:
        type: fields
        options:
          default_field_elements: true
          inline: {  }
          separator: ''
          hide_empty: false
      defaults:
        style: false
        row: false
        fields: false
        header: false
      display_description: ''
      header:
        messages:
          id: messages
          table: views
          field: messages
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: messages
          empty: true
        display_link:
          id: display_link
          table: views
          field: display_link
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: display_link
          label: Grid
          empty: true
          display_id: widget
        display_link_1:
          id: display_link_1
          table: views
          field: display_link
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: display_link
          label: Table
          empty: true
          display_id: widget_table
        result:
          id: result
          table: views
          field: result
          relationship: none
          group_type: group
          admin_label: ''
          plugin_id: result
          empty: false
          content: 'Displaying @start - @end of @total'
      display_extenders: {  }
      path: admin/content/media-dam-widget-table
    cache_metadata:
      max-age: 43200
      contexts:
        - 'languages:language_interface'
        - url
        - url.query_args
        - user.permissions
      tags:
        - views_remote_data
