From b542c0ef49afad9f1bc1062d92581e5b8a3489f1 Mon Sep 17 00:00:00 2001 From: Seth Shaw Date: Thu, 17 Oct 2019 14:40:48 +0000 Subject: [PATCH 1/3] add field_original_name --- islandora.module | 1 + ...ield.storage.media.field_original_name.yml | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml diff --git a/islandora.module b/islandora.module index 863b8c51..025e15db 100644 --- a/islandora.module +++ b/islandora.module @@ -61,6 +61,7 @@ function islandora_rdf_namespaces() { 'use' => 'http://pcdm.org/use#', 'iana' => 'http://www.iana.org/assignments/relation/', 'premis' => 'http://www.loc.gov/premis/rdf/v1#', + 'premis3' => 'http://www.loc.gov/premis/rdf/v3/', 'co' => 'http://purl.org/co/', ]; } diff --git a/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml b/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml new file mode 100644 index 00000000..bb83f7dd --- /dev/null +++ b/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + module: + - field_permissions + - media +third_party_settings: + field_permissions: + permission_type: public +id: media.field_original_name +field_name: field_original_name +entity_type: media +type: string_long +settings: + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false From e647684e430fcc5c88fe081d2f7bec27f964128d Mon Sep 17 00:00:00 2001 From: Seth Shaw Date: Fri, 18 Oct 2019 07:15:07 -0700 Subject: [PATCH 2/3] remove field_permissions dependency --- .../install/field.storage.media.field_original_name.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml b/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml index bb83f7dd..a946a59e 100644 --- a/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml +++ b/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml @@ -2,11 +2,7 @@ langcode: en status: true dependencies: module: - - field_permissions - media -third_party_settings: - field_permissions: - permission_type: public id: media.field_original_name field_name: field_original_name entity_type: media From f59ee71fc358998a9c429e9ed811f22e24ada73f Mon Sep 17 00:00:00 2001 From: Seth Shaw Date: Fri, 18 Oct 2019 07:16:46 -0700 Subject: [PATCH 3/3] add dependency on islandora_core_feature --- .../config/install/field.storage.media.field_original_name.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml b/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml index a946a59e..850e6b0f 100644 --- a/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml +++ b/modules/islandora_core_feature/config/install/field.storage.media.field_original_name.yml @@ -1,6 +1,9 @@ langcode: en status: true dependencies: + enforced: + module: + - islandora_core_feature module: - media id: media.field_original_name