From 8acd78de9dcd2fe9944d00bf20238f72812a95f8 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Mon, 22 Apr 2024 16:24:13 -0300 Subject: [PATCH] Representative Image field and Media library. --- ...form_display.media.audio.media_library.yml | 34 + ...m_display.media.document.media_library.yml | 31 + ...lay.media.extracted_text.media_library.yml | 36 + ..._form_display.media.file.media_library.yml | 36 + ....fits_technical_metadata.media_library.yml | 33 + ...form_display.media.image.media_library.yml | 46 + ...splay.media.remote_video.media_library.yml | 21 + ...form_display.media.video.media_library.yml | 34 + ..._display.node.islandora_object.default.yml | 12 +- ...e.entity_form_mode.media.media_library.yml | 16 + ...view_display.media.audio.media_library.yml | 47 + ...w_display.media.document.media_library.yml | 44 + ...lay.media.extracted_text.media_library.yml | 42 + ..._view_display.media.file.media_library.yml | 49 + ....fits_technical_metadata.media_library.yml | 46 + ...view_display.media.image.media_library.yml | 49 + ...splay.media.remote_video.media_library.yml | 34 + ...view_display.media.video.media_library.yml | 47 + ..._display.node.islandora_object.default.yml | 2 + ...lay.node.islandora_object.search_index.yml | 2 + ...ay.node.islandora_object.search_result.yml | 2 + ...w_display.node.islandora_object.teaser.yml | 2 + ...e.entity_view_mode.media.media_library.yml | 16 + config/sync/core.extension.yml | 3 +- ...dora_object.field_representative_image.yml | 29 + ...torage.node.field_representative_image.yml | 24 + config/sync/image.style.media_library.yml | 20 + config/sync/media_library.settings.yml | 3 + config/sync/views.view.media_library.yml | 1401 +++++++++++++++++ 29 files changed, 2158 insertions(+), 3 deletions(-) create mode 100644 config/sync/core.entity_form_display.media.audio.media_library.yml create mode 100644 config/sync/core.entity_form_display.media.document.media_library.yml create mode 100644 config/sync/core.entity_form_display.media.extracted_text.media_library.yml create mode 100644 config/sync/core.entity_form_display.media.file.media_library.yml create mode 100644 config/sync/core.entity_form_display.media.fits_technical_metadata.media_library.yml create mode 100644 config/sync/core.entity_form_display.media.image.media_library.yml create mode 100644 config/sync/core.entity_form_display.media.remote_video.media_library.yml create mode 100644 config/sync/core.entity_form_display.media.video.media_library.yml create mode 100644 config/sync/core.entity_form_mode.media.media_library.yml create mode 100644 config/sync/core.entity_view_display.media.audio.media_library.yml create mode 100644 config/sync/core.entity_view_display.media.document.media_library.yml create mode 100644 config/sync/core.entity_view_display.media.extracted_text.media_library.yml create mode 100644 config/sync/core.entity_view_display.media.file.media_library.yml create mode 100644 config/sync/core.entity_view_display.media.fits_technical_metadata.media_library.yml create mode 100644 config/sync/core.entity_view_display.media.image.media_library.yml create mode 100644 config/sync/core.entity_view_display.media.remote_video.media_library.yml create mode 100644 config/sync/core.entity_view_display.media.video.media_library.yml create mode 100644 config/sync/core.entity_view_mode.media.media_library.yml create mode 100644 config/sync/field.field.node.islandora_object.field_representative_image.yml create mode 100644 config/sync/field.storage.node.field_representative_image.yml create mode 100644 config/sync/image.style.media_library.yml create mode 100644 config/sync/media_library.settings.yml create mode 100644 config/sync/views.view.media_library.yml diff --git a/config/sync/core.entity_form_display.media.audio.media_library.yml b/config/sync/core.entity_form_display.media.audio.media_library.yml new file mode 100644 index 000000000..6c7e24237 --- /dev/null +++ b/config/sync/core.entity_form_display.media.audio.media_library.yml @@ -0,0 +1,34 @@ +uuid: 53506f35-963e-45f3-a243-e289df793975 +langcode: en +status: true +dependencies: + config: + - core.entity_form_mode.media.media_library + - field.field.media.audio.field_file_size + - field.field.media.audio.field_media_audio_file + - field.field.media.audio.field_media_of + - field.field.media.audio.field_media_use + - field.field.media.audio.field_mime_type + - field.field.media.audio.field_original_name + - field.field.media.audio.field_track + - media.type.audio +id: media.audio.media_library +targetEntityType: media +bundle: audio +mode: media_library +content: { } +hidden: + created: true + field_file_size: true + field_media_audio_file: true + field_media_of: true + field_media_use: true + field_mime_type: true + field_original_name: true + field_track: true + langcode: true + name: true + path: true + status: true + translation: true + uid: true diff --git a/config/sync/core.entity_form_display.media.document.media_library.yml b/config/sync/core.entity_form_display.media.document.media_library.yml new file mode 100644 index 000000000..7f506ae92 --- /dev/null +++ b/config/sync/core.entity_form_display.media.document.media_library.yml @@ -0,0 +1,31 @@ +uuid: 666a13e3-3e3d-4f2d-9719-674e9cd75d07 +langcode: en +status: true +dependencies: + config: + - core.entity_form_mode.media.media_library + - field.field.media.document.field_file_size + - field.field.media.document.field_media_document + - field.field.media.document.field_media_of + - field.field.media.document.field_media_use + - field.field.media.document.field_mime_type + - field.field.media.document.field_original_name + - media.type.document +id: media.document.media_library +targetEntityType: media +bundle: document +mode: media_library +content: { } +hidden: + created: true + field_file_size: true + field_media_document: true + field_media_of: true + field_media_use: true + field_mime_type: true + field_original_name: true + langcode: true + name: true + path: true + status: true + uid: true diff --git a/config/sync/core.entity_form_display.media.extracted_text.media_library.yml b/config/sync/core.entity_form_display.media.extracted_text.media_library.yml new file mode 100644 index 000000000..7207c3b84 --- /dev/null +++ b/config/sync/core.entity_form_display.media.extracted_text.media_library.yml @@ -0,0 +1,36 @@ +uuid: a19e475c-f9cf-4970-bc0f-5fb88fb20679 +langcode: en +status: true +dependencies: + config: + - core.entity_form_mode.media.media_library + - field.field.media.extracted_text.field_edited_text + - field.field.media.extracted_text.field_media_file + - field.field.media.extracted_text.field_media_of + - field.field.media.extracted_text.field_media_use + - field.field.media.extracted_text.field_mime_type + - media.type.extracted_text +id: media.extracted_text.media_library +targetEntityType: media +bundle: extracted_text +mode: media_library +content: + name: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + created: true + field_edited_text: true + field_media_file: true + field_media_of: true + field_media_use: true + field_mime_type: true + langcode: true + path: true + status: true + uid: true diff --git a/config/sync/core.entity_form_display.media.file.media_library.yml b/config/sync/core.entity_form_display.media.file.media_library.yml new file mode 100644 index 000000000..18d2f8aa5 --- /dev/null +++ b/config/sync/core.entity_form_display.media.file.media_library.yml @@ -0,0 +1,36 @@ +uuid: c6fa9671-f5de-4146-8322-43451c9f4315 +langcode: en +status: true +dependencies: + config: + - core.entity_form_mode.media.media_library + - field.field.media.file.field_file_size + - field.field.media.file.field_height + - field.field.media.file.field_media_file + - field.field.media.file.field_media_of + - field.field.media.file.field_media_use + - field.field.media.file.field_mime_type + - field.field.media.file.field_original_name + - field.field.media.file.field_width + - media.type.file +id: media.file.media_library +targetEntityType: media +bundle: file +mode: media_library +content: { } +hidden: + created: true + field_file_size: true + field_height: true + field_media_file: true + field_media_of: true + field_media_use: true + field_mime_type: true + field_original_name: true + field_width: true + langcode: true + name: true + path: true + status: true + translation: true + uid: true diff --git a/config/sync/core.entity_form_display.media.fits_technical_metadata.media_library.yml b/config/sync/core.entity_form_display.media.fits_technical_metadata.media_library.yml new file mode 100644 index 000000000..4117c3ae7 --- /dev/null +++ b/config/sync/core.entity_form_display.media.fits_technical_metadata.media_library.yml @@ -0,0 +1,33 @@ +uuid: a40713bd-ed8d-411f-b6ff-ed5ef13ae572 +langcode: en +status: true +dependencies: + config: + - core.entity_form_mode.media.media_library + - field.field.media.fits_technical_metadata.field_complete + - field.field.media.fits_technical_metadata.field_file_size + - field.field.media.fits_technical_metadata.field_media_file + - field.field.media.fits_technical_metadata.field_media_of + - field.field.media.fits_technical_metadata.field_media_use + - field.field.media.fits_technical_metadata.field_mime_type + - field.field.media.fits_technical_metadata.fits_ois_file_information_md5che + - media.type.fits_technical_metadata +id: media.fits_technical_metadata.media_library +targetEntityType: media +bundle: fits_technical_metadata +mode: media_library +content: { } +hidden: + created: true + field_complete: true + field_file_size: true + field_media_file: true + field_media_of: true + field_media_use: true + field_mime_type: true + fits_ois_file_information_md5che: true + langcode: true + name: true + path: true + status: true + uid: true diff --git a/config/sync/core.entity_form_display.media.image.media_library.yml b/config/sync/core.entity_form_display.media.image.media_library.yml new file mode 100644 index 000000000..0af5e0196 --- /dev/null +++ b/config/sync/core.entity_form_display.media.image.media_library.yml @@ -0,0 +1,46 @@ +uuid: bb709875-bafb-48d5-b4df-be6f0aeb650c +langcode: en +status: true +dependencies: + config: + - core.entity_form_mode.media.media_library + - field.field.media.image.field_file_size + - field.field.media.image.field_height + - field.field.media.image.field_media_image + - field.field.media.image.field_media_of + - field.field.media.image.field_media_use + - field.field.media.image.field_mime_type + - field.field.media.image.field_original_name + - field.field.media.image.field_width + - image.style.thumbnail + - media.type.image + module: + - image +id: media.image.media_library +targetEntityType: media +bundle: image +mode: media_library +content: + field_media_image: + type: image_image + weight: -50 + region: content + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } +hidden: + created: true + field_file_size: true + field_height: true + field_media_of: true + field_media_use: true + field_mime_type: true + field_original_name: true + field_width: true + langcode: true + name: true + path: true + status: true + translation: true + uid: true diff --git a/config/sync/core.entity_form_display.media.remote_video.media_library.yml b/config/sync/core.entity_form_display.media.remote_video.media_library.yml new file mode 100644 index 000000000..5f1517f56 --- /dev/null +++ b/config/sync/core.entity_form_display.media.remote_video.media_library.yml @@ -0,0 +1,21 @@ +uuid: 7edbf5c9-0e9c-4465-826c-f1570c4b4fab +langcode: en +status: true +dependencies: + config: + - core.entity_form_mode.media.media_library + - field.field.media.remote_video.field_media_oembed_video + - media.type.remote_video +id: media.remote_video.media_library +targetEntityType: media +bundle: remote_video +mode: media_library +content: { } +hidden: + created: true + field_media_oembed_video: true + langcode: true + name: true + path: true + status: true + uid: true diff --git a/config/sync/core.entity_form_display.media.video.media_library.yml b/config/sync/core.entity_form_display.media.video.media_library.yml new file mode 100644 index 000000000..307fca723 --- /dev/null +++ b/config/sync/core.entity_form_display.media.video.media_library.yml @@ -0,0 +1,34 @@ +uuid: 4935bb0e-60fb-4046-b501-5804f3ceec43 +langcode: en +status: true +dependencies: + config: + - core.entity_form_mode.media.media_library + - field.field.media.video.field_file_size + - field.field.media.video.field_media_of + - field.field.media.video.field_media_use + - field.field.media.video.field_media_video_file + - field.field.media.video.field_mime_type + - field.field.media.video.field_original_name + - field.field.media.video.field_track + - media.type.video +id: media.video.media_library +targetEntityType: media +bundle: video +mode: media_library +content: { } +hidden: + created: true + field_file_size: true + field_media_of: true + field_media_use: true + field_media_video_file: true + field_mime_type: true + field_original_name: true + field_track: true + langcode: true + name: true + path: true + status: true + translation: true + uid: true diff --git a/config/sync/core.entity_form_display.node.islandora_object.default.yml b/config/sync/core.entity_form_display.node.islandora_object.default.yml index 366ba5464..f28f4d8da 100644 --- a/config/sync/core.entity_form_display.node.islandora_object.default.yml +++ b/config/sync/core.entity_form_display.node.islandora_object.default.yml @@ -39,6 +39,7 @@ dependencies: - field.field.node.islandora_object.field_place_published - field.field.node.islandora_object.field_place_published_country - field.field.node.islandora_object.field_publisher + - field.field.node.islandora_object.field_representative_image - field.field.node.islandora_object.field_resource_type - field.field.node.islandora_object.field_rights - field.field.node.islandora_object.field_subject @@ -53,6 +54,7 @@ dependencies: - controlled_access_terms - field_group - geolocation + - media_library - path - text third_party_settings: @@ -61,6 +63,7 @@ third_party_settings: children: - field_member_of - field_weight + - field_representative_image - field_viewer_override - langcode - translation @@ -611,6 +614,13 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_representative_image: + type: media_library_widget + weight: 16 + region: content + settings: + media_types: { } + third_party_settings: { } field_resource_type: type: options_select weight: 9 @@ -681,7 +691,7 @@ content: third_party_settings: { } field_weight: type: number - weight: 16 + weight: 15 region: content settings: placeholder: '' diff --git a/config/sync/core.entity_form_mode.media.media_library.yml b/config/sync/core.entity_form_mode.media.media_library.yml new file mode 100644 index 000000000..099f19829 --- /dev/null +++ b/config/sync/core.entity_form_mode.media.media_library.yml @@ -0,0 +1,16 @@ +uuid: 2d80e240-c8f1-4eb4-8003-4f2290a3a0b0 +langcode: en +status: true +dependencies: + module: + - media + enforced: + module: + - media_library +_core: + default_config_hash: 04_dAqpWYP1WmsXZ7IXJ7-yarCvNddD10EUkBDtIFy4 +id: media.media_library +label: 'Media library' +description: '' +targetEntityType: media +cache: true diff --git a/config/sync/core.entity_view_display.media.audio.media_library.yml b/config/sync/core.entity_view_display.media.audio.media_library.yml new file mode 100644 index 000000000..e6cdf881e --- /dev/null +++ b/config/sync/core.entity_view_display.media.audio.media_library.yml @@ -0,0 +1,47 @@ +uuid: 0bbca81b-2e8e-469c-bb25-b91eededb138 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - field.field.media.audio.field_file_size + - field.field.media.audio.field_media_audio_file + - field.field.media.audio.field_media_of + - field.field.media.audio.field_media_use + - field.field.media.audio.field_mime_type + - field.field.media.audio.field_original_name + - field.field.media.audio.field_track + - image.style.medium + - media.type.audio + module: + - image +id: media.audio.media_library +targetEntityType: media +bundle: audio +mode: media_library +content: + thumbnail: + type: image + label: hidden + settings: + image_link: '' + image_style: medium + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content +hidden: + created: true + field_file_size: true + field_gemini_uri: true + field_media_audio_file: true + field_media_of: true + field_media_use: true + field_mime_type: true + field_original_name: true + field_track: true + langcode: true + name: true + search_api_excerpt: true + uid: true diff --git a/config/sync/core.entity_view_display.media.document.media_library.yml b/config/sync/core.entity_view_display.media.document.media_library.yml new file mode 100644 index 000000000..d045c8306 --- /dev/null +++ b/config/sync/core.entity_view_display.media.document.media_library.yml @@ -0,0 +1,44 @@ +uuid: 032fa667-633f-4b28-87d3-bfe6f664382b +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - field.field.media.document.field_file_size + - field.field.media.document.field_media_document + - field.field.media.document.field_media_of + - field.field.media.document.field_media_use + - field.field.media.document.field_mime_type + - field.field.media.document.field_original_name + - image.style.medium + - media.type.document + module: + - image +id: media.document.media_library +targetEntityType: media +bundle: document +mode: media_library +content: + thumbnail: + type: image + label: hidden + settings: + image_link: '' + image_style: medium + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content +hidden: + created: true + field_file_size: true + field_media_document: true + field_media_of: true + field_media_use: true + field_mime_type: true + field_original_name: true + langcode: true + name: true + search_api_excerpt: true + uid: true diff --git a/config/sync/core.entity_view_display.media.extracted_text.media_library.yml b/config/sync/core.entity_view_display.media.extracted_text.media_library.yml new file mode 100644 index 000000000..37db35b8a --- /dev/null +++ b/config/sync/core.entity_view_display.media.extracted_text.media_library.yml @@ -0,0 +1,42 @@ +uuid: f0b085a8-086a-43eb-a315-cf235d62862e +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - field.field.media.extracted_text.field_edited_text + - field.field.media.extracted_text.field_media_file + - field.field.media.extracted_text.field_media_of + - field.field.media.extracted_text.field_media_use + - field.field.media.extracted_text.field_mime_type + - image.style.medium + - media.type.extracted_text + module: + - image +id: media.extracted_text.media_library +targetEntityType: media +bundle: extracted_text +mode: media_library +content: + thumbnail: + type: image + label: hidden + settings: + image_link: '' + image_style: medium + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content +hidden: + created: true + field_edited_text: true + field_media_file: true + field_media_of: true + field_media_use: true + field_mime_type: true + langcode: true + name: true + search_api_excerpt: true + uid: true diff --git a/config/sync/core.entity_view_display.media.file.media_library.yml b/config/sync/core.entity_view_display.media.file.media_library.yml new file mode 100644 index 000000000..5cdb23e29 --- /dev/null +++ b/config/sync/core.entity_view_display.media.file.media_library.yml @@ -0,0 +1,49 @@ +uuid: a05a08c5-24cb-4f62-9107-754ff7506efe +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - field.field.media.file.field_file_size + - field.field.media.file.field_height + - field.field.media.file.field_media_file + - field.field.media.file.field_media_of + - field.field.media.file.field_media_use + - field.field.media.file.field_mime_type + - field.field.media.file.field_original_name + - field.field.media.file.field_width + - image.style.medium + - media.type.file + module: + - image +id: media.file.media_library +targetEntityType: media +bundle: file +mode: media_library +content: + thumbnail: + type: image + label: hidden + settings: + image_link: '' + image_style: medium + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content +hidden: + created: true + field_file_size: true + field_gemini_uri: true + field_height: true + field_media_file: true + field_media_of: true + field_media_use: true + field_mime_type: true + field_original_name: true + field_width: true + langcode: true + name: true + search_api_excerpt: true + uid: true diff --git a/config/sync/core.entity_view_display.media.fits_technical_metadata.media_library.yml b/config/sync/core.entity_view_display.media.fits_technical_metadata.media_library.yml new file mode 100644 index 000000000..3e3cfab26 --- /dev/null +++ b/config/sync/core.entity_view_display.media.fits_technical_metadata.media_library.yml @@ -0,0 +1,46 @@ +uuid: f95cb141-6e42-40cc-b714-64ec2db50b1d +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - field.field.media.fits_technical_metadata.field_complete + - field.field.media.fits_technical_metadata.field_file_size + - field.field.media.fits_technical_metadata.field_media_file + - field.field.media.fits_technical_metadata.field_media_of + - field.field.media.fits_technical_metadata.field_media_use + - field.field.media.fits_technical_metadata.field_mime_type + - field.field.media.fits_technical_metadata.fits_ois_file_information_md5che + - image.style.medium + - media.type.fits_technical_metadata + module: + - image +id: media.fits_technical_metadata.media_library +targetEntityType: media +bundle: fits_technical_metadata +mode: media_library +content: + thumbnail: + type: image + label: hidden + settings: + image_link: '' + image_style: medium + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content +hidden: + created: true + field_complete: true + field_file_size: true + field_media_file: true + field_media_of: true + field_media_use: true + field_mime_type: true + fits_ois_file_information_md5che: true + langcode: true + name: true + search_api_excerpt: true + uid: true diff --git a/config/sync/core.entity_view_display.media.image.media_library.yml b/config/sync/core.entity_view_display.media.image.media_library.yml new file mode 100644 index 000000000..b9be41f03 --- /dev/null +++ b/config/sync/core.entity_view_display.media.image.media_library.yml @@ -0,0 +1,49 @@ +uuid: 6625399a-ac02-4c87-82b5-a84015d4fbef +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - field.field.media.image.field_file_size + - field.field.media.image.field_height + - field.field.media.image.field_media_image + - field.field.media.image.field_media_of + - field.field.media.image.field_media_use + - field.field.media.image.field_mime_type + - field.field.media.image.field_original_name + - field.field.media.image.field_width + - image.style.medium + - media.type.image + module: + - image +id: media.image.media_library +targetEntityType: media +bundle: image +mode: media_library +content: + thumbnail: + type: image + label: hidden + settings: + image_link: '' + image_style: medium + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content +hidden: + created: true + field_file_size: true + field_gemini_uri: true + field_height: true + field_media_image: true + field_media_of: true + field_media_use: true + field_mime_type: true + field_original_name: true + field_width: true + langcode: true + name: true + search_api_excerpt: true + uid: true diff --git a/config/sync/core.entity_view_display.media.remote_video.media_library.yml b/config/sync/core.entity_view_display.media.remote_video.media_library.yml new file mode 100644 index 000000000..d821cf1ce --- /dev/null +++ b/config/sync/core.entity_view_display.media.remote_video.media_library.yml @@ -0,0 +1,34 @@ +uuid: 71f53913-0469-4fdb-bf42-c4be52583be4 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - field.field.media.remote_video.field_media_oembed_video + - image.style.medium + - media.type.remote_video + module: + - image +id: media.remote_video.media_library +targetEntityType: media +bundle: remote_video +mode: media_library +content: + thumbnail: + type: image + label: hidden + settings: + image_link: '' + image_style: medium + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content +hidden: + created: true + field_media_oembed_video: true + langcode: true + name: true + search_api_excerpt: true + uid: true diff --git a/config/sync/core.entity_view_display.media.video.media_library.yml b/config/sync/core.entity_view_display.media.video.media_library.yml new file mode 100644 index 000000000..3cf487a38 --- /dev/null +++ b/config/sync/core.entity_view_display.media.video.media_library.yml @@ -0,0 +1,47 @@ +uuid: 2fc47903-3269-43f9-b007-b38e4f6d86b7 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - field.field.media.video.field_file_size + - field.field.media.video.field_media_of + - field.field.media.video.field_media_use + - field.field.media.video.field_media_video_file + - field.field.media.video.field_mime_type + - field.field.media.video.field_original_name + - field.field.media.video.field_track + - image.style.medium + - media.type.video + module: + - image +id: media.video.media_library +targetEntityType: media +bundle: video +mode: media_library +content: + thumbnail: + type: image + label: hidden + settings: + image_link: '' + image_style: medium + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content +hidden: + created: true + field_file_size: true + field_gemini_uri: true + field_media_of: true + field_media_use: true + field_media_video_file: true + field_mime_type: true + field_original_name: true + field_track: true + langcode: true + name: true + search_api_excerpt: true + uid: true diff --git a/config/sync/core.entity_view_display.node.islandora_object.default.yml b/config/sync/core.entity_view_display.node.islandora_object.default.yml index 29b14981b..f6db8e23a 100644 --- a/config/sync/core.entity_view_display.node.islandora_object.default.yml +++ b/config/sync/core.entity_view_display.node.islandora_object.default.yml @@ -39,6 +39,7 @@ dependencies: - field.field.node.islandora_object.field_place_published - field.field.node.islandora_object.field_place_published_country - field.field.node.islandora_object.field_publisher + - field.field.node.islandora_object.field_representative_image - field.field.node.islandora_object.field_resource_type - field.field.node.islandora_object.field_rights - field.field.node.islandora_object.field_subject @@ -439,6 +440,7 @@ hidden: field_model: true field_pid: true field_place_published_country: true + field_representative_image: true field_viewer_override: true field_weight: true islandora_fits_checksum: true diff --git a/config/sync/core.entity_view_display.node.islandora_object.search_index.yml b/config/sync/core.entity_view_display.node.islandora_object.search_index.yml index ab924d4ff..58d201da7 100644 --- a/config/sync/core.entity_view_display.node.islandora_object.search_index.yml +++ b/config/sync/core.entity_view_display.node.islandora_object.search_index.yml @@ -40,6 +40,7 @@ dependencies: - field.field.node.islandora_object.field_place_published - field.field.node.islandora_object.field_place_published_country - field.field.node.islandora_object.field_publisher + - field.field.node.islandora_object.field_representative_image - field.field.node.islandora_object.field_resource_type - field.field.node.islandora_object.field_rights - field.field.node.islandora_object.field_subject @@ -433,6 +434,7 @@ hidden: field_pid: true field_place_published_country: true field_publisher: true + field_representative_image: true field_viewer_override: true field_weight: true islandora_fits_checksum: true diff --git a/config/sync/core.entity_view_display.node.islandora_object.search_result.yml b/config/sync/core.entity_view_display.node.islandora_object.search_result.yml index 86e480037..2144ef862 100644 --- a/config/sync/core.entity_view_display.node.islandora_object.search_result.yml +++ b/config/sync/core.entity_view_display.node.islandora_object.search_result.yml @@ -40,6 +40,7 @@ dependencies: - field.field.node.islandora_object.field_place_published - field.field.node.islandora_object.field_place_published_country - field.field.node.islandora_object.field_publisher + - field.field.node.islandora_object.field_representative_image - field.field.node.islandora_object.field_resource_type - field.field.node.islandora_object.field_rights - field.field.node.islandora_object.field_subject @@ -198,6 +199,7 @@ hidden: field_place_published: true field_place_published_country: true field_publisher: true + field_representative_image: true field_rights: true field_subject: true field_subject_general: true diff --git a/config/sync/core.entity_view_display.node.islandora_object.teaser.yml b/config/sync/core.entity_view_display.node.islandora_object.teaser.yml index ba363f7df..14002f97d 100644 --- a/config/sync/core.entity_view_display.node.islandora_object.teaser.yml +++ b/config/sync/core.entity_view_display.node.islandora_object.teaser.yml @@ -40,6 +40,7 @@ dependencies: - field.field.node.islandora_object.field_place_published - field.field.node.islandora_object.field_place_published_country - field.field.node.islandora_object.field_publisher + - field.field.node.islandora_object.field_representative_image - field.field.node.islandora_object.field_resource_type - field.field.node.islandora_object.field_rights - field.field.node.islandora_object.field_subject @@ -163,6 +164,7 @@ hidden: field_pid: true field_place_published: true field_place_published_country: true + field_representative_image: true field_resource_type: true field_rights: true field_subject: true diff --git a/config/sync/core.entity_view_mode.media.media_library.yml b/config/sync/core.entity_view_mode.media.media_library.yml new file mode 100644 index 000000000..158eb8bcb --- /dev/null +++ b/config/sync/core.entity_view_mode.media.media_library.yml @@ -0,0 +1,16 @@ +uuid: de9d5660-665f-457a-afc1-847faa823862 +langcode: en +status: true +dependencies: + module: + - media + enforced: + module: + - media_library +_core: + default_config_hash: 04_dAqpWYP1WmsXZ7IXJ7-yarCvNddD10EUkBDtIFy4 +id: media.media_library +label: 'Media library' +description: '' +targetEntityType: media +cache: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 2bc0e389c..dfd6a9302 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -76,6 +76,7 @@ module: link: 0 matomo: 0 media: 0 + media_library: 0 menu_link_content: 0 menu_ui: 0 migrate: 0 @@ -89,7 +90,6 @@ module: path: 0 path_alias: 0 pdf: 0 - pgsql: 0 prepopulate: 0 rdf: 0 responsive_image: 0 @@ -99,7 +99,6 @@ module: search_api_solr: 0 serialization: 0 shortcut: 0 - sqlite: 0 syslog: 0 system: 0 taxonomy: 0 diff --git a/config/sync/field.field.node.islandora_object.field_representative_image.yml b/config/sync/field.field.node.islandora_object.field_representative_image.yml new file mode 100644 index 000000000..448eadce4 --- /dev/null +++ b/config/sync/field.field.node.islandora_object.field_representative_image.yml @@ -0,0 +1,29 @@ +uuid: ed07efe0-4ca9-4636-aafd-a65c7aa3ea4e +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_representative_image + - media.type.image + - node.type.islandora_object +id: node.islandora_object.field_representative_image +field_name: field_representative_image +entity_type: node +bundle: islandora_object +label: 'Representative Image' +description: 'Here, you can optionally add a thumbnail image for this node. This will take precedence over the Islandora thumbnail wherever the "DGI Discovered Image" field is used.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + image: image + sort: + field: _none + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.storage.node.field_representative_image.yml b/config/sync/field.storage.node.field_representative_image.yml new file mode 100644 index 000000000..171fe7743 --- /dev/null +++ b/config/sync/field.storage.node.field_representative_image.yml @@ -0,0 +1,24 @@ +uuid: 60e41791-cf61-4e21-993f-243e9a7ad349 +langcode: en +status: true +dependencies: + module: + - field_permissions + - media + - node +third_party_settings: + field_permissions: + permission_type: public +id: node.field_representative_image +field_name: field_representative_image +entity_type: node +type: entity_reference +settings: + target_type: media +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/image.style.media_library.yml b/config/sync/image.style.media_library.yml new file mode 100644 index 000000000..8b047cfc0 --- /dev/null +++ b/config/sync/image.style.media_library.yml @@ -0,0 +1,20 @@ +uuid: b3ebdae0-cbe0-4877-b4ed-07bc16bc7a9e +langcode: en +status: true +dependencies: + enforced: + module: + - media_library +_core: + default_config_hash: 7qJqToD1OQLAyeswpmg7M0LRxQlw1URQkJDWUJCnmR8 +name: media_library +label: 'Media Library thumbnail (220×220)' +effects: + 75b076a8-1234-4b42-85db-bf377c4d8d5f: + uuid: 75b076a8-1234-4b42-85db-bf377c4d8d5f + id: image_scale + weight: 0 + data: + width: 220 + height: 220 + upscale: false diff --git a/config/sync/media_library.settings.yml b/config/sync/media_library.settings.yml new file mode 100644 index 000000000..3a1479aa7 --- /dev/null +++ b/config/sync/media_library.settings.yml @@ -0,0 +1,3 @@ +_core: + default_config_hash: _3gQsCnZELUjUUqHk8SSh8bXnx7TZwN95vctAeVJG60 +advanced_ui: false diff --git a/config/sync/views.view.media_library.yml b/config/sync/views.view.media_library.yml new file mode 100644 index 000000000..b55862d53 --- /dev/null +++ b/config/sync/views.view.media_library.yml @@ -0,0 +1,1401 @@ +uuid: 39d55226-f3cf-4458-a168-a4cf5f56adc2 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + - image.style.media_library + module: + - image + - media + - media_library + - user + enforced: + module: + - media_library +_core: + default_config_hash: iFhkNhGoobQ7V0PJEH_Io9Vlli35kiaeQfdqUttfQeU +id: media_library +label: 'Media library' +module: views +description: 'Find and manage media.' +tag: '' +base_table: media_field_data +base_field: mid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: Media + fields: + media_bulk_form: + id: media_bulk_form + table: media + field: media_bulk_form + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: bulk_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 + action_title: Action + include_exclude: exclude + selected_actions: { } + rendered_entity: + id: rendered_entity + table: media + 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: mini + options: + offset: 0 + items_per_page: 24 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '6, 12, 24, 48' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + exposed_form: + type: basic + options: + submit_button: 'Apply filters' + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: false + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access media overview' + cache: + type: tag + options: { } + empty: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: true + content: 'No media available.' + tokenize: false + sorts: + created: + id: created + table: media_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: created + plugin_id: date + order: DESC + expose: + label: 'Newest first' + field_identifier: created + exposed: true + granularity: second + name: + id: name + table: media_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: name + plugin_id: standard + order: ASC + expose: + label: 'Name (A-Z)' + field_identifier: name + exposed: true + name_1: + id: name_1 + table: media_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: name + plugin_id: standard + order: DESC + expose: + label: 'Name (Z-A)' + field_identifier: name_1 + exposed: true + filters: + status: + id: status + table: media_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: status + plugin_id: boolean + operator: '=' + value: '1' + group: 1 + exposed: true + expose: + operator_id: '' + label: 'Publishing status' + description: null + use_operator: false + operator: status_op + operator_limit_selection: false + operator_list: { } + identifier: status + required: true + remember: false + multiple: false + remember_roles: + authenticated: authenticated + is_grouped: true + group_info: + label: Published + description: '' + identifier: status + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: + 1: + title: Published + operator: '=' + value: '1' + 2: + title: Unpublished + operator: '=' + value: '0' + name: + id: name + table: media_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: name + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: name_op + label: Name + description: '' + use_operator: false + operator: name_op + operator_limit_selection: false + operator_list: { } + identifier: name + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '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: { } + bundle: + id: bundle + table: media_field_data + field: bundle + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: bundle + plugin_id: bundle + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: bundle_op + label: 'Media type' + description: '' + use_operator: false + operator: bundle_op + operator_limit_selection: false + operator_list: { } + identifier: type + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + reduce: false + is_grouped: false + group_info: + label: 'Media type' + description: null + identifier: bundle + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: + 1: { } + 2: { } + 3: { } + status_extra: + id: status_extra + table: media_field_data + field: status_extra + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: media_status + operator: '=' + 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 + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + langcode: + id: langcode + table: media_field_data + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: langcode + plugin_id: language + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: langcode_op + label: Language + description: '' + use_operator: false + operator: langcode_op + operator_limit_selection: false + operator_list: { } + identifier: langcode + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + 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: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + css_class: '' + use_ajax: true + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: 0 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - 'url.query_args:sort_by' + - user + - user.permissions + tags: { } + page: + id: page + display_title: Page + display_plugin: page + position: 1 + display_options: + fields: + media_bulk_form: + id: media_bulk_form + table: media + field: media_bulk_form + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: bulk_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 + action_title: Action + include_exclude: exclude + selected_actions: { } + name: + id: name + table: media_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: name + plugin_id: field + label: '' + exclude: true + 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: value + type: string + settings: + link_to_entity: false + 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 + edit_media: + id: edit_media + table: media + field: edit_media + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: entity_link_edit + label: '' + exclude: false + alter: + alter_text: true + text: 'Edit {{ name }}' + make_link: true + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: 'Edit {{ name }}' + 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: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: Edit + output_url_as_text: false + absolute: false + delete_media: + id: delete_media + table: media + field: delete_media + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: entity_link_delete + label: '' + exclude: false + alter: + alter_text: true + text: 'Delete {{ name }}' + make_link: true + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: 'Delete {{ name }}' + 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: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: Delete + output_url_as_text: false + absolute: false + rendered_entity: + id: rendered_entity + table: media + 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 + defaults: + fields: false + display_extenders: { } + path: admin/content/media-grid + cache_metadata: + max-age: 0 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'url.query_args:sort_by' + - user + - user.permissions + tags: { } + widget: + id: widget + display_title: Widget + display_plugin: page + position: 2 + display_options: + fields: + media_library_select_form: + id: media_library_select_form + table: media + field: media_library_select_form + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: 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: media + 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 + access: + type: perm + options: + perm: 'view media' + arguments: + bundle: + id: bundle + table: media_field_data + field: bundle + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: bundle + plugin_id: string + 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: 24 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: false + filters: + status: + id: status + table: media_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: status + plugin_id: boolean + operator: '=' + value: '1' + 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 + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + name: + id: name + table: media_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: name + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: name_op + label: Name + description: '' + use_operator: false + operator: name_op + operator_limit_selection: false + operator_list: { } + identifier: name + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '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: { } + default_langcode: + id: default_langcode + table: media_field_data + field: default_langcode + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: default_langcode + plugin_id: boolean + operator: '=' + value: '1' + 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 + 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: + access: false + css_class: false + fields: false + arguments: false + filters: false + filter_groups: false + header: false + css_class: '' + display_description: '' + header: + display_link_grid: + id: display_link_grid + table: views + field: display_link + plugin_id: display_link + label: Grid + empty: true + display_id: widget + display_link_table: + id: display_link_table + table: views + field: display_link + plugin_id: display_link + label: Table + empty: true + display_id: widget_table + rendering_language: '***LANGUAGE_language_interface***' + display_extenders: { } + path: admin/content/media-widget + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - 'url.query_args:sort_by' + - user.permissions + tags: { } + widget_table: + id: widget_table + display_title: 'Widget (table)' + display_plugin: page + position: 3 + display_options: + fields: + media_library_select_form: + id: media_library_select_form + table: media + field: media_library_select_form + relationship: none + entity_type: media + plugin_id: media_library_select_form + label: '' + element_class: '' + element_wrapper_class: '' + thumbnail__target_id: + id: thumbnail__target_id + table: media_field_data + field: thumbnail__target_id + relationship: none + entity_type: media + entity_field: thumbnail + plugin_id: field + label: Thumbnail + type: image + settings: + image_link: '' + image_style: media_library + image_loading: + attribute: eager + name: + id: name + table: media_field_data + field: name + relationship: none + entity_type: media + entity_field: name + plugin_id: field + label: Name + type: string + settings: + link_to_entity: false + uid: + id: uid + table: media_field_revision + field: uid + relationship: none + entity_type: media + entity_field: uid + plugin_id: field + label: Author + type: entity_reference_label + settings: + link: true + changed: + id: changed + table: media_field_data + field: changed + relationship: none + entity_type: media + entity_field: changed + plugin_id: field + label: Updated + type: timestamp + settings: + date_format: short + custom_date_format: '' + timezone: '' + tooltip: + date_format: long + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 + access: + type: perm + options: + perm: 'view media' + arguments: + bundle: + id: bundle + table: media_field_data + field: bundle + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: bundle + plugin_id: string + 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: 24 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: false + filters: + status: + id: status + table: media_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: status + plugin_id: boolean + operator: '=' + value: '1' + 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 + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + name: + id: name + table: media_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: name + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: name_op + label: Name + description: '' + use_operator: false + operator: name_op + operator_limit_selection: false + operator_list: { } + identifier: name + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '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: { } + default_langcode: + id: default_langcode + table: media_field_data + field: default_langcode + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: default_langcode + plugin_id: boolean + operator: '=' + value: '1' + 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 + 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: table + options: + row_class: 'media-library-item media-library-item--table js-media-library-item js-click-to-select' + default_row_class: true + row: + type: fields + defaults: + access: false + css_class: false + style: false + row: false + fields: false + arguments: false + filters: false + filter_groups: false + header: false + css_class: '' + header: + display_link_grid: + id: display_link_grid + table: views + field: display_link + plugin_id: display_link + label: Grid + empty: true + display_id: widget + display_link_table: + id: display_link_table + table: views + field: display_link + plugin_id: display_link + label: Table + empty: true + display_id: widget_table + rendering_language: '***LANGUAGE_language_interface***' + display_extenders: { } + path: admin/content/media-widget-table + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - 'url.query_args:sort_by' + - user.permissions + tags: { }