diff --git a/composer.json b/composer.json index ff7a39c..6d4b5e4 100755 --- a/composer.json +++ b/composer.json @@ -226,18 +226,24 @@ "php": "^7.4 || ^8", "composer/installers": "^1.9", "cweagans/composer-patches": "^1.9", - "drupal/core-composer-scaffold": "^10.1", - "drupal/core-recommended": "^10.1", - "drupal/csvfile_formatter": "^1.0", + "digitalutsc/group_solr": "^1.0.0-beta", + "digitalutsc/islandora_group": "^2.0-beta", + "digitalutsc/private_files_adapter": "^1.0.0@beta", "drupal/ableplayer": "^3.0", "drupal/admin_toolbar": "^3.1", + "drupal/advanced_search": "^2.0", "drupal/advancedqueue": "^1.0@RC", "drupal/advancedqueue_runner": "^2.0@alpha", "drupal/archive_list_contents": "^1.0@beta", "drupal/asset_injector": "^2.19", + "drupal/bartik": "^1.0", "drupal/better_social_sharing_buttons": "^4.0", "drupal/citation_select": "^1.0@beta", "drupal/context": "^5@RC", + "drupal/controlled_access_terms": "^2", + "drupal/core-composer-scaffold": "^10.1", + "drupal/core-recommended": "^10.1", + "drupal/csvfile_formatter": "^1.0", "drupal/devel": "^5.0", "drupal/facets": "^2", "drupal/features": "^3.13", @@ -255,7 +261,16 @@ "drupal/jwt": "^2.0", "drupal/libraries": "^4.0", "drupal/matomo": "^1.22", + "drupal/media_entity_usage": "^9.1", + "drupal/media_library_edit": "^3.0", + "drupal/media_thumbnails": "^1.0@beta", + "drupal/media_thumbnails_jp2": "^1.0@beta", + "drupal/media_thumbnails_pdf": "^2.0@beta", + "drupal/media_thumbnails_tiff": "^1.0@beta", + "drupal/media_thumbnails_video": "^2.0", + "drupal/migrate_plus": "^6.0", "drupal/migrate_source_csv": "^3.5", + "drupal/openseadragon": "^2.1", "drupal/pathauto": "^1.12", "drupal/pdf": "^1.2", "drupal/replaywebpage": "^1.0@beta", @@ -272,14 +287,8 @@ "drupal/views_field_view": "^1.0@beta", "drupal/views_flipped_table": "^2.0", "drupal/views_timelinejs": "^4.0", - "drupal/controlled_access_terms": "^2", - "drupal/openseadragon": "^2.1", "drush/drush": "^12", - "drupal/advanced_search": "^2.0", "islandora/jsonld": "^3.0", - "digitalutsc/group_solr": "^1.0.0-beta", - "digitalutsc/islandora_group": "^2.0-beta", - "digitalutsc/private_files_adapter": "^1.0.0@beta", "islandora/views_nested_details": "^1.0.0-beta", "islandora_lite/ableplayer_extend": "^1.0.0-beta", "islandora_lite/facets_year_range": "^1.0.0-beta", @@ -297,15 +306,7 @@ "vlucas/phpdotenv": "^2.4", "webmozart/path-util": "^2.3", "wikimedia/composer-merge-plugin": "^2.0", - "zaporylie/composer-drupal-optimizations": "^1.2", - "drupal/media_thumbnails": "^1.0@beta", - "drupal/media_thumbnails_jp2": "^1.0@beta", - "drupal/media_thumbnails_pdf": "^2.0@beta", - "drupal/media_thumbnails_tiff": "^1.0@beta", - "drupal/media_thumbnails_video": "^2.0", - "drupal/bartik": "^1.0" , - "drupal/media_library_edit": "^3.0", - "drupal/migrate_plus": "^6.0" + "zaporylie/composer-drupal-optimizations": "^1.2" }, "require-dev": { "drupal/devel": "^5.0" diff --git a/composer.lock b/composer.lock index 7a72c75..bc8656e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "adec0572de1d0730d9e3ea061bc1117f", + "content-hash": "4a589baa7a97433f3cbf8de69b602497", "packages": [ { "name": "academicpuma/citeproc-php", @@ -5347,6 +5347,58 @@ "source": "https://git.drupalcode.org/project/matomo" } }, + { + "name": "drupal/media_entity_usage", + "version": "9.1.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/media_entity_usage.git", + "reference": "9.1.0" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/media_entity_usage-9.1.0.zip", + "reference": "9.1.0", + "shasum": "ab503d82bb086f747f73453c943b5a1a5f20d42d" + }, + "require": { + "drupal/core": "^8.8 || ^9 || ^10" + }, + "require-dev": { + "drupal/media": "*", + "drupal/paragraphs": "*" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "9.1.0", + "datestamp": "1693989331", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "bletch", + "homepage": "https://www.drupal.org/user/276684" + }, + { + "name": "fwrdeu", + "homepage": "https://www.drupal.org/user/3533117" + } + ], + "description": "Provide information about entities that references media (please use submodules)", + "homepage": "https://www.drupal.org/project/media_entity_usage", + "support": { + "source": "https://git.drupalcode.org/project/media_entity_usage" + } + }, { "name": "drupal/media_library_edit", "version": "3.0.2", @@ -14407,6 +14459,7 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { + "digitalutsc/private_files_adapter": 10, "drupal/advancedqueue": 5, "drupal/advancedqueue_runner": 15, "drupal/archive_list_contents": 10, @@ -14416,17 +14469,16 @@ "drupal/filter_perms": 15, "drupal/fits": 15, "drupal/flysystem": 5, + "drupal/media_thumbnails": 10, + "drupal/media_thumbnails_jp2": 10, + "drupal/media_thumbnails_pdf": 10, + "drupal/media_thumbnails_tiff": 10, "drupal/replaywebpage": 10, "drupal/rest_oai_pmh": 10, "drupal/search_api_location": 15, "drupal/triplestore_indexer": 10, "drupal/views_field_view": 10, - "digitalutsc/private_files_adapter": 10, - "mjordan/islandora_workbench_integration": 20, - "drupal/media_thumbnails": 10, - "drupal/media_thumbnails_jp2": 10, - "drupal/media_thumbnails_pdf": 10, - "drupal/media_thumbnails_tiff": 10 + "mjordan/islandora_workbench_integration": 20 }, "prefer-stable": true, "prefer-lowest": false, diff --git a/config/sync/views.view.file_entity_orphaned_files.yml b/config/sync/views.view.file_entity_orphaned_files.yml new file mode 100644 index 0000000..504341a --- /dev/null +++ b/config/sync/views.view.file_entity_orphaned_files.yml @@ -0,0 +1,1429 @@ +uuid: 4b22957c-406c-4d05-ad67-47e07965423e +langcode: en +status: true +dependencies: + module: + - file + - file_entity + - user +_core: + default_config_hash: MTbTq62egNpRtvnWx6uFMOheiu0ZthTmvo2Hj76IvLk +id: file_entity_orphaned_files +label: 'File Entity Orphaned Files' +module: file_entity +description: 'Find and manage files.' +tag: default +base_table: file_managed +base_field: fid +display: + default: + id: default + display_title: Master + display_plugin: default + position: 0 + display_options: + title: Files + fields: + bulk_form: + id: bulk_form + table: file_managed + field: bulk_form + relationship: none + group_type: group + admin_label: '' + entity_type: file + plugin_id: bulk_form + label: '' + exclude: false + alter: + alter_text: false + 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 + action_title: 'With selection' + include_exclude: exclude + selected_actions: { } + fid: + id: fid + table: file_managed + field: fid + relationship: none + group_type: group + admin_label: '' + plugin_id: file + label: Fid + exclude: true + alter: + alter_text: false + make_link: false + absolute: false + word_boundary: false + ellipsis: false + strip_tags: false + trim: false + 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 + link_to_file: false + filename: + id: filename + table: file_managed + field: filename + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: filename + plugin_id: field + label: Name + 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: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: file_link + 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 + type: + id: type + table: file_managed + field: type + relationship: none + group_type: group + admin_label: '' + plugin_id: file_entity_type + label: Type + exclude: false + alter: + alter_text: false + 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: null + 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 + filemime: + id: filemime + table: file_managed + field: filemime + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: filemime + plugin_id: field + label: 'MIME type' + 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 + type: file_filemime + filesize: + id: filesize + table: file_managed + field: filesize + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: filesize + plugin_id: field + label: Size + 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 + type: file_size + status: + id: status + table: file_managed + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: status + plugin_id: field + label: Status + 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 + type: boolean + settings: + format: custom + format_custom_false: Temporary + format_custom_true: Permanent + changed: + id: changed + table: file_managed + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: changed + plugin_id: field + label: 'Changed date' + 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 + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 + created: + id: created + table: file_managed + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: created + plugin_id: field + label: Created + 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 + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 + count: + id: count + table: file_usage + field: count + relationship: fid + group_type: sum + admin_label: '' + plugin_id: numeric + label: 'Used in' + exclude: false + alter: + alter_text: false + text: '' + make_link: true + path: 'file/{{fid}}/usage' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: null + 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 + set_precision: false + precision: 0 + decimal: . + separator: ',' + format_plural: true + format_plural_string: !!binary MSBwbGFjZQNAY291bnQgcGxhY2Vz + prefix: '' + suffix: '' + operations: + id: operations + table: file_managed + field: operations + relationship: none + group_type: group + admin_label: '' + entity_type: file + plugin_id: entity_operations + label: Operations + 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 + destination: true + pager: + type: mini + options: + offset: 0 + items_per_page: 50 + total_pages: 0 + id: 0 + tags: + next: 'next ›' + previous: '‹ previous' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 20, 40, 60' + 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: Filter + 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: 'administer files' + cache: + type: none + options: { } + empty: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + plugin_id: text_custom + empty: true + content: 'No files available.' + sorts: { } + arguments: { } + filters: + filename: + id: filename + table: file_managed + field: filename + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: word + value: '' + group: 1 + exposed: true + expose: + operator_id: filemime_op + label: Filename + description: '' + use_operator: false + operator: filename_op + operator_limit_selection: false + operator_list: { } + identifier: filename + 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: { } + filemime: + id: filemime + table: file_managed + field: filemime + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: word + value: '' + group: 1 + exposed: true + expose: + operator_id: filemime_op + label: 'Mime type' + description: '' + use_operator: false + operator: filemime_op + operator_limit_selection: false + operator_list: { } + identifier: filemime + 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: { } + status: + id: status + table: file_managed + field: status + relationship: none + group_type: group + admin_label: '' + plugin_id: file_status + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: status_op + label: Status + description: '' + use_operator: false + operator: status_op + operator_limit_selection: false + operator_list: { } + identifier: status + 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: { } + type: + id: type + table: file_managed + field: type + relationship: none + group_type: group + admin_label: '' + plugin_id: file_entity_type + operator: in + group: 1 + exposed: true + expose: + operator_id: type_op + label: Type + description: '' + use_operator: false + operator: type_op + operator_limit_selection: false + operator_list: { } + identifier: type + 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: { } + count: + id: count + table: file_usage + field: count + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + operator: '=' + value: + min: '' + max: '' + value: '0' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + min_placeholder: '' + max_placeholder: '' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + bulk_form: bulk_form + fid: fid + filename: filename + type: type + filemime: filemime + filesize: filesize + status: status + changed: changed + created: created + count: count + operations: operations + default: created + info: + bulk_form: + align: '' + separator: '' + empty_column: false + responsive: '' + fid: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + filename: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + type: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + filemime: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-medium + filesize: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-low + status: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-low + changed: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + created: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + count: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-medium + operations: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: true + caption: '' + description: '' + row: + type: fields + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: + fid: + id: fid + table: file_managed + field: fid + relationship: none + group_type: group + admin_label: 'File usage' + required: true + group_by: true + show_admin_links: true + header: { } + footer: { } + rendering_language: '***LANGUAGE_entity_default***' + display_extenders: { } + cache_metadata: + max-age: 0 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + cacheable: false + overview: + id: overview + display_title: 'Files overview' + display_plugin: page + position: 1 + display_options: + defaults: + pager: true + relationships: false + relationships: + fid: + id: fid + table: file_managed + field: fid + relationship: none + group_type: group + admin_label: 'File usage' + required: false + display_description: '' + rendering_language: '***LANGUAGE_entity_default***' + display_extenders: { } + path: admin/content/files + route_name: entity.file.collection + menu: + type: tab + title: Files + description: '' + weight: 0 + context: '' + cache_metadata: + max-age: 0 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + cacheable: false + usage: + id: usage + display_title: 'File usage' + display_plugin: page + position: 2 + display_options: + title: 'File usage' + fields: + entity_label: + id: entity_label + table: file_usage + field: entity_label + relationship: none + group_type: group + admin_label: '' + plugin_id: entity_label + label: Entity + exclude: false + alter: + alter_text: false + 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: null + 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 + link_to_entity: true + type: + id: type + table: file_usage + field: type + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: 'Entity type' + exclude: false + alter: + alter_text: false + 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: null + 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 + module: + id: module + table: file_usage + field: module + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: 'Registering module' + exclude: false + alter: + alter_text: false + 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: null + 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 + count: + id: count + table: file_usage + field: count + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + label: 'Use count' + exclude: false + alter: + alter_text: false + 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: null + 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 + set_precision: false + precision: 0 + decimal: . + separator: ',' + format_plural: false + format_plural_string: !!binary MSBwbGFjZQNAY291bnQgcGxhY2Vz + prefix: '' + suffix: '' + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: 0 + id: 0 + tags: + next: 'next ›' + previous: '‹ previous' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 20, 40, 60' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + 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: 'This file is not currently used.' + tokenize: false + arguments: + fid: + id: fid + table: file_managed + field: fid + relationship: none + group_type: group + admin_label: '' + plugin_id: file_fid + default_action: 'not found' + exception: + value: all + title_enable: false + title: All + title_enable: true + title: 'File usage information for {{ arguments.fid }}' + default_argument_type: fixed + default_argument_options: + argument: '' + default_argument_skip_url: true + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: { } + filter_groups: + operator: AND + groups: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + entity_label: entity_label + type: type + module: module + count: count + default: entity_label + info: + entity_label: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + type: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-medium + module: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-low + count: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: true + caption: '' + description: '' + row: + type: fields + options: { } + defaults: + empty: false + title: false + pager: false + group_by: false + style: false + row: false + relationships: false + fields: false + arguments: false + filters: false + filter_groups: false + header: false + relationships: + fid: + id: fid + table: file_managed + field: fid + relationship: none + group_type: group + admin_label: 'File usage' + required: true + group_by: false + display_description: '' + header: + 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: 'This table lists all of the places where {{ arguments.fid }} is used.' + tokenize: true + rendering_language: '***LANGUAGE_entity_default***' + display_extenders: { } + path: file/%file/usage + menu: + type: tab + title: Usage + description: 'Overview content that uses this file' + weight: 5 + context: '0' + tab_options: + type: none + title: '' + description: '' + weight: 0 + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + cacheable: false diff --git a/config/sync/views.view.media_entity_usage.yml b/config/sync/views.view.media_entity_usage.yml new file mode 100644 index 0000000..847f34f --- /dev/null +++ b/config/sync/views.view.media_entity_usage.yml @@ -0,0 +1,361 @@ +uuid: 8a60a539-f8bf-4fdd-94a5-3a05a26aaf3b +langcode: en +status: true +dependencies: + module: + - csv_serialization + - media + - media_entity_usage + - rest + - serialization + - user + - views_data_export +id: media_entity_usage +label: 'Media Entity Usage' +module: views +description: 'View usage count for 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 Entity Usage' + fields: + 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: Name + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + media_usage: + id: media_usage + table: media + field: media_usage + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: media_usage + label: 'Media usage count' + 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 + pager: + type: full + options: + offset: 0 + items_per_page: 50 + 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: 9 + 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: + type: tag + options: { } + empty: { } + sorts: { } + arguments: { } + filters: + status: + id: status + table: media_field_data + field: status + entity_type: media + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + name: name + media_usage: media_usage + default: '-1' + info: + name: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + media_usage: + sortable: true + 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 + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: + matomo: + enabled: false + keyword_gets: '' + keyword_behavior: first + keyword_concat_separator: ' ' + category_behavior: none + category_gets: '' + category_concat_separator: ' ' + category_fallback: '' + category_facets: { } + category_facets_concat_separator: ', ' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - user.permissions + tags: { } + data_export_1: + id: data_export_1 + display_title: 'Data export' + display_plugin: data_export + position: 2 + display_options: + style: + type: data_export + options: + formats: + csv: csv + csv_settings: + delimiter: ',' + enclosure: '"' + escape_char: \ + strip_tags: true + trim: true + encoding: utf8 + utf8_bom: '0' + use_serializer_encode_only: false + row: + type: data_field + options: + field_options: + name: + alias: '' + raw_output: false + media_usage: + alias: '' + raw_output: false + display_extenders: + matomo: + enabled: false + keyword_gets: '' + keyword_behavior: first + keyword_concat_separator: ' ' + category_behavior: none + category_gets: '' + category_concat_separator: ' ' + category_fallback: '' + category_facets: { } + category_facets_concat_separator: ', ' + path: admin/content/media/media_entity_usage/download + displays: + page_1: page_1 + default: '0' + filename: media_usage.csv + automatic_download: false + store_in_public_file_directory: false + custom_redirect_path: false + redirect_to_display: none + include_query_params: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - request_format + - user.permissions + tags: { } + page_1: + id: page_1 + display_title: Page + display_plugin: page + position: 1 + display_options: + display_extenders: + matomo: + enabled: false + keyword_gets: '' + keyword_behavior: first + keyword_concat_separator: ' ' + category_behavior: none + category_gets: '' + category_concat_separator: ' ' + category_fallback: '' + category_facets: { } + category_facets_concat_separator: ', ' + path: admin/content/media/media_entity_usage + menu: + type: none + title: Media + description: 'Media Entity Usage' + weight: 0 + expanded: false + menu_name: main + parent: '' + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - user.permissions + tags: { }