From 3938f2a5367fae7dc9868d083d0391882380c565 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Wed, 22 May 2024 14:09:59 -0300 Subject: [PATCH] Move RDF configs to optional. (#120) * Move RDF configs to optional. * Remove RDF dependency. --- composer.json | 3 ++- .../rdf.mapping.taxonomy_term.corporate_body.yml | 0 .../{install => optional}/rdf.mapping.taxonomy_term.family.yml | 0 .../{install => optional}/rdf.mapping.taxonomy_term.genre.yml | 0 .../rdf.mapping.taxonomy_term.geo_location.yml | 0 .../rdf.mapping.taxonomy_term.language.yml | 0 .../{install => optional}/rdf.mapping.taxonomy_term.person.yml | 0 .../rdf.mapping.taxonomy_term.physical_form.yml | 0 .../rdf.mapping.taxonomy_term.resource_types.yml | 0 .../rdf.mapping.taxonomy_term.subject.yml | 0 .../rdf.mapping.taxonomy_term.temporal_subjects.yml | 0 .../controlled_access_terms_defaults.info.yml | 1 - 12 files changed, 2 insertions(+), 2 deletions(-) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.corporate_body.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.family.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.genre.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.geo_location.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.language.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.person.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.physical_form.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.resource_types.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.subject.yml (100%) rename modules/controlled_access_terms_defaults/config/{install => optional}/rdf.mapping.taxonomy_term.temporal_subjects.yml (100%) diff --git a/composer.json b/composer.json index 46aa88b..81c73e9 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,8 @@ "sebastian/phpcpd": "*" }, "suggest": { - "drupal/name": "Provides western-centric structured names." + "drupal/name": "Provides western-centric structured names.", + "drupal/rdf": "Provides ability to map fields to RDF." }, "conflict": { "islandora/jsonld": "<2.1.0", diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.corporate_body.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.corporate_body.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.corporate_body.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.corporate_body.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.family.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.family.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.family.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.family.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.genre.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.genre.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.genre.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.genre.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.geo_location.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.geo_location.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.geo_location.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.geo_location.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.language.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.language.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.language.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.language.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.person.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.person.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.person.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.person.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.physical_form.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.physical_form.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.physical_form.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.physical_form.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.resource_types.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.resource_types.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.resource_types.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.resource_types.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.subject.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.subject.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.subject.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.subject.yml diff --git a/modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.temporal_subjects.yml b/modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.temporal_subjects.yml similarity index 100% rename from modules/controlled_access_terms_defaults/config/install/rdf.mapping.taxonomy_term.temporal_subjects.yml rename to modules/controlled_access_terms_defaults/config/optional/rdf.mapping.taxonomy_term.temporal_subjects.yml diff --git a/modules/controlled_access_terms_defaults/controlled_access_terms_defaults.info.yml b/modules/controlled_access_terms_defaults/controlled_access_terms_defaults.info.yml index 5bc7ae4..61acf17 100755 --- a/modules/controlled_access_terms_defaults/controlled_access_terms_defaults.info.yml +++ b/modules/controlled_access_terms_defaults/controlled_access_terms_defaults.info.yml @@ -15,5 +15,4 @@ dependencies: - drupal:text - drupal:user - geolocation:geolocation - - rdf:rdf package: 'Controlled Access Terms'