diff --git a/README.md b/README.md index 87cce03..3379d7e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,9 @@ -# Proof of Concept: CLAW Migrate Files (Apollo Edition) +# Proof of Concept: Islandora 8 Migrate Files (Apollo Edition) This repository consists of two modules: -1. unlv_image: A local implementation of the Islandora Image module to include additional metadata fields. -2. migrate_cdm: Uses the Migrate API to load Tiff masters, metadata from a CSV, and MADS authority records from the Library of Congress. - -*Note:* This proof-of-concept assumes that new content types will be created for each metadata profile/object type pair; ergo, this proof-of-concept includes a new content type called UNLV_image which parallel's islandora_image but adds some node entity references. However, CLAW is under active development which will cause this example to break from time to time. I intend to continue updating this example as the current dev-version of CLAW develops. +1. migrate_apollo: Uses the Migrate API to load Tiff masters, metadata from a CSV, and MADS RDF XML authority records from the Library of Congress. +2. data: the source data we will migrate (see below). # Source Data @@ -15,11 +13,11 @@ The source data used for this proof of concept came from the [Project Apollo Arc Note: using drush with migrate_tools is optional, but the instructions assume it is installed. -0. Install the prerequisite modules (islandora_image, migrate_plus, and migrate_source_csv) and their dependencies. E.g. `composer require islandora/islandora_image drupal/migrate_tools:^4.0 drupal/migrate_source_csv`. -0. Copy the data directory to your drupal web root (e.g. in my tests the drupal web root is `/var/www/drupalvm/drupal/web` and the data directory is `/var/www/drupalvm/drupal/web/data`). -0. Copy the migrate_cdm and unlv_image directories to your modules directory. -0. Enable the modules. E.g. `drush en -y migrate_tools migrate_apollo`. -0. Run the migration. E.g. `drush -l http://localhost:8000 mim --userid=1 --all`. *Note: drush must be run by the webserver user because the claw_file migration copies files to the "public://directory". E.g.* `sudo -u www-data drush -l http://localhost:8000 mim --userid=1 --all` *if you are using vagrant. Also, the userid flag is specific to the migrate:import command, it provides the necessary user information to the JWT authentication to enable derivatives.* +0. Install Islandora 8, including islandora_defaults. +0. Copy the data directory to your drupal web root (e.g. for islandora the default drupal web root is `/var/www/html/drupal/web` and the data directory is `/var/www/html/drupal/web/data`). +0. Clone this git repo to your modules directory. (`git clone https://github.com/seth-shaw-unlv/claw-migrate-files-poc.git`) +0. Enable the modules. E.g. `drush en -y migrate_apollo`. +0. Run the migration. E.g. `drush -l http://localhost:8000 mim --userid=1 --all`. *Note: drush must be run by the webserver user because the claw_file migration copies files to the "public://directory". E.g.* `sudo -u www-data drush -l http://localhost:8000 mim --userid=1 --all` *if you are using Ubuntu. Also, the userid flag is specific to the migrate:import command, it provides the necessary user information to the JWT authentication to enable derivatives.* 0. See a wonderful list of the newly migrated images on your Drupal site's front page! # Combining People and Subject entities in a single column diff --git a/migrate_apollo/config/install/migrate_plus.migration.auth_complex.yml b/config/install/migrate_plus.migration.auth_complex.yml similarity index 78% rename from migrate_apollo/config/install/migrate_plus.migration.auth_complex.yml rename to config/install/migrate_plus.migration.auth_complex.yml index 62cc8cc..4085283 100644 --- a/migrate_apollo/config/install/migrate_plus.migration.auth_complex.yml +++ b/config/install/migrate_plus.migration.auth_complex.yml @@ -4,6 +4,8 @@ migration_group: authorities source: plugin: url + constants: + source: lcsh data_fetcher_plugin: file data_parser_plugin: xml urls: 'data/apollo-auths.rdf' # Path relative to Drupal site root @@ -27,15 +29,12 @@ source: type: string destination: - plugin: entity:node + plugin: entity:taxonomy_term process: - type: + vid: plugin: default_value default_value: subject - title: pref_label - field_uris: - - # Skip this field if there are no skos:exactMatch - plugin: skip_on_empty - method: process - source: ref_uri + name: pref_label + field_authority_link/uri: uri + field_authority_link/source: constants/source diff --git a/migrate_apollo/config/install/migrate_plus.migration.auth_geographic.yml b/config/install/migrate_plus.migration.auth_geographic.yml similarity index 50% rename from migrate_apollo/config/install/migrate_plus.migration.auth_geographic.yml rename to config/install/migrate_plus.migration.auth_geographic.yml index aef1bcf..df4a62f 100644 --- a/migrate_apollo/config/install/migrate_plus.migration.auth_geographic.yml +++ b/config/install/migrate_plus.migration.auth_geographic.yml @@ -4,6 +4,8 @@ migration_group: authorities source: plugin: url + constants: + source: lcnaf data_fetcher_plugin: file data_parser_plugin: xml urls: 'data/apollo-auths.rdf' # Path relative to Drupal site root @@ -27,15 +29,29 @@ source: type: string destination: - plugin: entity:node + plugin: entity:taxonomy_term process: - type: + vid: plugin: default_value - default_value: subject - title: pref_label - field_uris: - - # Skip this field if there are no skos:exactMatch - plugin: skip_on_empty - method: process - source: ref_uri + default_value: geo_location + name: pref_label + temp_authority_source: + plugin: str_replace + regex: true + source: uri + search: '#http://id\.loc\.gov/authorities/(\w+)/.*#' + replace: "$1" + field_authority_link/uri: uri + field_authority_link/source: + plugin: static_map + source: '@temp_authority_source' + map: + names: lcnaf + subjects: lcsh + field_authority_link/title: + plugin: static_map + source: '@temp_authority_source' + map: + names: 'Library of Congress Name Authority File' + subjects: 'Library of Congress Subject Headings' diff --git a/migrate_apollo/config/install/migrate_plus.migration.auth_person.yml b/config/install/migrate_plus.migration.auth_person.yml similarity index 78% rename from migrate_apollo/config/install/migrate_plus.migration.auth_person.yml rename to config/install/migrate_plus.migration.auth_person.yml index 89f5406..021793a 100644 --- a/migrate_apollo/config/install/migrate_plus.migration.auth_person.yml +++ b/config/install/migrate_plus.migration.auth_person.yml @@ -4,6 +4,8 @@ migration_group: authorities source: plugin: url + constants: + source: lcnaf data_fetcher_plugin: file data_parser_plugin: xml urls: 'data/apollo-auths.rdf' # Path relative to Drupal site root @@ -27,15 +29,12 @@ source: type: string destination: - plugin: entity:node + plugin: entity:taxonomy_term process: - type: + vid: plugin: default_value default_value: person - title: pref_label - field_uris: - - # Skip this field if there are no skos:exactMatch - plugin: skip_on_empty - method: process - source: ref_uri + name: pref_label + field_authority_link/uri: uri + field_authority_link/source: constants/source diff --git a/migrate_apollo/config/install/migrate_plus.migration.auth_topic.yml b/config/install/migrate_plus.migration.auth_topic.yml similarity index 77% rename from migrate_apollo/config/install/migrate_plus.migration.auth_topic.yml rename to config/install/migrate_plus.migration.auth_topic.yml index 5321a8e..2d66bd9 100644 --- a/migrate_apollo/config/install/migrate_plus.migration.auth_topic.yml +++ b/config/install/migrate_plus.migration.auth_topic.yml @@ -4,6 +4,8 @@ migration_group: authorities source: plugin: url + constants: + source: lcsh data_fetcher_plugin: file data_parser_plugin: xml urls: 'data/apollo-auths.rdf' # Path relative to Drupal site root @@ -27,15 +29,12 @@ source: type: string destination: - plugin: entity:node + plugin: entity:taxonomy_term process: - type: + vid: plugin: default_value default_value: subject - title: pref_label - field_uris: - - # Skip this field if there are no skos:exactMatch - plugin: skip_on_empty - method: process - source: ref_uri + name: pref_label + field_authority_link/uri: uri + field_authority_link/source: constants/source diff --git a/migrate_apollo/config/install/migrate_plus.migration.claw_file.yml b/config/install/migrate_plus.migration.islandora8_file.yml similarity index 93% rename from migrate_apollo/config/install/migrate_plus.migration.claw_file.yml rename to config/install/migrate_plus.migration.islandora8_file.yml index 97230bc..d2d0601 100644 --- a/migrate_apollo/config/install/migrate_plus.migration.claw_file.yml +++ b/config/install/migrate_plus.migration.islandora8_file.yml @@ -1,7 +1,6 @@ -uuid: 98014998-7099-496d-8387-4136fc85de7f -id: claw_file +id: islandora8_file label: Import Image Files -migration_group: test_digital +migration_group: apollo source: plugin: csv diff --git a/migrate_apollo/config/install/migrate_plus.migration.claw_media.yml b/config/install/migrate_plus.migration.islandora8_media.yml similarity index 74% rename from migrate_apollo/config/install/migrate_plus.migration.claw_media.yml rename to config/install/migrate_plus.migration.islandora8_media.yml index 7b6251b..a240f77 100644 --- a/migrate_apollo/config/install/migrate_plus.migration.claw_media.yml +++ b/config/install/migrate_plus.migration.islandora8_media.yml @@ -1,11 +1,11 @@ -id: claw_media -label: Import CDM Image Media -migration_group: test_digital +id: islandora8_media +label: Import Media +migration_group: apollo migration_dependencies: required: - - claw_file - - claw_image # so we can lookup the value for field_media_of + - islandora8_files + - islandora8_metadata # so we can lookup the value for field_media_of source: plugin: csv @@ -15,7 +15,7 @@ source: keys: - digital_id constants: - preservation_master: 'Preservation Master' + media_use: 'Original File' uid: 1 # UID of Admin user, may be changed to uid of someone with permission to create items column_names: 0: @@ -33,7 +33,7 @@ process: # Lookup the Tiff we just migrated field_media_file/target_id: plugin: migration_lookup - migration: claw_file + migration: islandora8_file source: digital_id no_stub: true field_media_file/display: @@ -43,20 +43,20 @@ process: plugin: default_value default_value: '' - # Lookup the UNLV_Image we just created + # Lookup the metadata record we just created field_media_of: plugin: migration_lookup - migration: claw_image + migration: islandora8_metadata source: digital_id no_stub: true # Set as Preservation Master - field_tags: + field_media_use: plugin: entity_lookup - source: constants/preservation_master + source: constants/media_use value_key: name bundle_key: vid - bundle: tags + bundle: islandora_media_use entity_type: taxonomy_term ignore_case: true diff --git a/migrate_apollo/config/install/migrate_plus.migration.claw_image.yml b/config/install/migrate_plus.migration.islandora8_metadata.yml similarity index 84% rename from migrate_apollo/config/install/migrate_plus.migration.claw_image.yml rename to config/install/migrate_plus.migration.islandora8_metadata.yml index d4bc83d..a6b671a 100644 --- a/migrate_apollo/config/install/migrate_plus.migration.claw_image.yml +++ b/config/install/migrate_plus.migration.islandora8_metadata.yml @@ -1,6 +1,6 @@ -id: claw_image -label: Import CDM Images -migration_group: test_digital +id: islandora8_metadata +label: 'Import Metadata' +migration_group: apollo migration_dependencies: required: @@ -22,15 +22,15 @@ source: image: 'Image' uid: 1 # UID of Admin user, may be changed to uid of someone with permission to create items column_names: - 0: + - digital_id: 'Digital ID' - 1: + - title: 'Title' - 2: + - description: 'Description' - 3: + - subject_person: 'Identified Individual' - 4: + - subjects: 'Subjects' destination: # We're creating nodes, ya'll. @@ -39,11 +39,11 @@ destination: # We're creating nodes, ya'll. process: type: # The content type of the nodes we are creating plugin: default_value - default_value: unlv_image + default_value: islandora_object # One-to-One mappings uid: constants/uid - field_digital_id: digital_id + field_identifier: digital_id title: title field_description: description @@ -56,17 +56,17 @@ process: - digital_id # Type Tags - field_tags: + field_model: plugin: entity_lookup source: constants/image value_key: name bundle_key: vid - bundle: tags + bundle: islandora_models entity_type: taxonomy_term ignore_case: true # SUBJECTS - # Since subjects can be of multiple content types we need to perform + # Since subjects can be in multiple vocabularies we need to perform # lookups for each type, assign them to a temp array, and recombine # them all before assigning them to the appropriate entity reference field. @@ -80,12 +80,12 @@ process: delimiter: ';' - plugin: entity_generate - value_key: title - bundle_key: type + value_key: name + bundle_key: vid bundle: person - entity_type: node + entity_type: taxonomy_term default_values: - type: person + vid: person temp_subjects: # Temporary field of subjects - @@ -97,12 +97,12 @@ process: delimiter: ';' - plugin: entity_generate - value_key: title + value_key: name bundle: subject - bundle_key: type - entity_type: node + bundle_key: vid + entity_type: taxonomy_term default_values: - type: subject + vid: subject field_subjects: # Gather temp arrays into the destination field - diff --git a/migrate_apollo.features.yml b/migrate_apollo.features.yml new file mode 100644 index 0000000..9e48e9f --- /dev/null +++ b/migrate_apollo.features.yml @@ -0,0 +1,2 @@ +bundle: islandora +required: true diff --git a/migrate_apollo/migrate_apollo.info.yml b/migrate_apollo.info.yml similarity index 92% rename from migrate_apollo/migrate_apollo.info.yml rename to migrate_apollo.info.yml index e72be36..37c29e8 100644 --- a/migrate_apollo/migrate_apollo.info.yml +++ b/migrate_apollo.info.yml @@ -8,4 +8,4 @@ dependencies: - drupal:migrate - migrate_plus:migrate_plus - migrate_source_csv - - unlv_image + - islandora_defaults diff --git a/migrate_apollo/drush.services.yml b/migrate_apollo/drush.services.yml deleted file mode 100644 index d98f11a..0000000 --- a/migrate_apollo/drush.services.yml +++ /dev/null @@ -1,5 +0,0 @@ -services: - migrate_apollo.commands: - class: \Drupal\migrate_apollo\Commands\MigrateApolloCommands - tags: - - { name: drush.command } diff --git a/migrate_apollo/src/Commands/MigrateApolloCommands.php b/migrate_apollo/src/Commands/MigrateApolloCommands.php deleted file mode 100644 index a6d0e8c..0000000 --- a/migrate_apollo/src/Commands/MigrateApolloCommands.php +++ /dev/null @@ -1,83 +0,0 @@ - self::REQ]) - { - } - - /** - * @hook validate migrate:import - */ - public function validateUser(CommandData $commandData) - { - $userid = $commandData->input()->getOption('userid'); - if($userid) - { - $account = \Drupal\user\Entity\User::load($userid); - if (!$account) { - throw new \Exception("User ID does not match an existing user."); - } - } - } - - /** - * @hook pre-command migrate:import - */ - public function preImport(CommandData $commandData) - { - // - $userid = $commandData->input()->getOption('userid'); - if ($userid) - { - $account = \Drupal\user\Entity\User::load($userid); - $accountSwitcher = \Drupal::service('account_switcher'); - $userSession = new UserSession([ - 'uid' => $account->id(), - 'name'=>$account->getUsername(), - 'roles'=>$account->getRoles() - ]); - $accountSwitcher->switchTo($userSession); - $this->logger()->notice( - dt( - 'Now acting as user ID @id', - ['@id'=>\Drupal::currentUser()->id()] - ) - ); - } - } - - /** - * @hook post-command migrate:import - */ - public function postImport($result, CommandData $commandData) - { - if ($commandData->input()->getOption('userid')) - { - $accountSwitcher = \Drupal::service('account_switcher'); - $this->logger()->notice(dt( - 'Switching back from user @uid.', - ['@uid'=>\Drupal::currentUser()->id()] - )); - $accountSwitcher->switchBack(); - } - } -} diff --git a/unlv_image/composer.json b/unlv_image/composer.json deleted file mode 100644 index a53b2b4..0000000 --- a/unlv_image/composer.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "unlv/unlv_image", - "description": "UNLV Image", - "type": "drupal-module", - "minimum-stability": "dev", - "prefer-stable": true, - "keywords": ["Drupal", "Islandora"], - "license": "GPL-2.0+", - "require": { - } -} diff --git a/unlv_image/config/install/block.block.views_block__subject_images_block_1.yml b/unlv_image/config/install/block.block.views_block__subject_images_block_1.yml deleted file mode 100644 index 3d224bf..0000000 --- a/unlv_image/config/install/block.block.views_block__subject_images_block_1.yml +++ /dev/null @@ -1,33 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - views.view.subject_images - module: - - node - - views - theme: - - bartik -id: views_block__subject_images_block_1 -theme: bartik -region: content -weight: -2 -provider: null -plugin: 'views_block:subject_images-block_1' -settings: - id: 'views_block:subject_images-block_1' - label: Images - provider: views - label_display: visible - views_label: Images - items_per_page: none - context_mapping: { } -visibility: - node_type: - id: node_type - bundles: - person: person - subject: subject - negate: false - context_mapping: - node: '@node.node_route_context:node' diff --git a/unlv_image/config/install/core.base_field_override.node.corporate_body.promote.yml b/unlv_image/config/install/core.base_field_override.node.corporate_body.promote.yml deleted file mode 100644 index 4b4cb6a..0000000 --- a/unlv_image/config/install/core.base_field_override.node.corporate_body.promote.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.corporate_body -id: node.corporate_body.promote -field_name: promote -entity_type: node -bundle: corporate_body -label: 'Promoted to front page' -description: '' -required: false -translatable: true -default_value: - - - value: 0 -default_value_callback: '' -settings: - on_label: 'On' - off_label: 'Off' -field_type: boolean diff --git a/unlv_image/config/install/core.base_field_override.node.corporate_body.title.yml b/unlv_image/config/install/core.base_field_override.node.corporate_body.title.yml deleted file mode 100644 index 150ef30..0000000 --- a/unlv_image/config/install/core.base_field_override.node.corporate_body.title.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.corporate_body -id: node.corporate_body.title -field_name: title -entity_type: node -bundle: corporate_body -label: 'Display Label' -description: '' -required: true -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/unlv_image/config/install/core.base_field_override.node.family.promote.yml b/unlv_image/config/install/core.base_field_override.node.family.promote.yml deleted file mode 100644 index 6ff4d08..0000000 --- a/unlv_image/config/install/core.base_field_override.node.family.promote.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.family -id: node.family.promote -field_name: promote -entity_type: node -bundle: family -label: 'Promoted to front page' -description: '' -required: false -translatable: true -default_value: - - - value: 0 -default_value_callback: '' -settings: - on_label: 'On' - off_label: 'Off' -field_type: boolean diff --git a/unlv_image/config/install/core.base_field_override.node.family.title.yml b/unlv_image/config/install/core.base_field_override.node.family.title.yml deleted file mode 100644 index f0e7fbc..0000000 --- a/unlv_image/config/install/core.base_field_override.node.family.title.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.family -id: node.family.title -field_name: title -entity_type: node -bundle: family -label: 'Display Label' -description: '' -required: true -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/unlv_image/config/install/core.base_field_override.node.person.promote.yml b/unlv_image/config/install/core.base_field_override.node.person.promote.yml deleted file mode 100644 index 93365d3..0000000 --- a/unlv_image/config/install/core.base_field_override.node.person.promote.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.person -id: node.person.promote -field_name: promote -entity_type: node -bundle: person -label: 'Promoted to front page' -description: '' -required: false -translatable: true -default_value: - - - value: 0 -default_value_callback: '' -settings: - on_label: 'On' - off_label: 'Off' -field_type: boolean diff --git a/unlv_image/config/install/core.base_field_override.node.person.title.yml b/unlv_image/config/install/core.base_field_override.node.person.title.yml deleted file mode 100644 index 6866676..0000000 --- a/unlv_image/config/install/core.base_field_override.node.person.title.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.person -id: node.person.title -field_name: title -entity_type: node -bundle: person -label: 'Display Label' -description: '' -required: true -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/unlv_image/config/install/core.base_field_override.node.subject.promote.yml b/unlv_image/config/install/core.base_field_override.node.subject.promote.yml deleted file mode 100644 index bcc2e83..0000000 --- a/unlv_image/config/install/core.base_field_override.node.subject.promote.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.subject -id: node.subject.promote -field_name: promote -entity_type: node -bundle: subject -label: 'Promoted to front page' -description: '' -required: false -translatable: true -default_value: - - - value: 0 -default_value_callback: '' -settings: - on_label: 'On' - off_label: 'Off' -field_type: boolean diff --git a/unlv_image/config/install/core.base_field_override.node.subject.title.yml b/unlv_image/config/install/core.base_field_override.node.subject.title.yml deleted file mode 100644 index dece80c..0000000 --- a/unlv_image/config/install/core.base_field_override.node.subject.title.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.subject -id: node.subject.title -field_name: title -entity_type: node -bundle: subject -label: Subject -description: '' -required: true -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/unlv_image/config/install/core.entity_form_display.node.corporate_body.default.yml b/unlv_image/config/install/core.entity_form_display.node.corporate_body.default.yml deleted file mode 100644 index f336513..0000000 --- a/unlv_image/config/install/core.entity_form_display.node.corporate_body.default.yml +++ /dev/null @@ -1,93 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.corporate_body.body - - field.field.node.corporate_body.field_relation - - field.field.node.corporate_body.field_uris - - node.type.corporate_body - module: - - path - - text -id: node.corporate_body.default -targetEntityType: node -bundle: corporate_body -mode: default -content: - body: - type: text_textarea_with_summary - weight: 121 - settings: - rows: 9 - summary_rows: 3 - placeholder: '' - third_party_settings: { } - region: content - created: - type: datetime_timestamp - weight: 10 - region: content - settings: { } - third_party_settings: { } - field_relation: - weight: 123 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - third_party_settings: { } - type: entity_reference_autocomplete - region: content - field_uris: - weight: 122 - settings: - rows: 5 - placeholder: '' - third_party_settings: { } - type: string_textarea - region: content - path: - type: path - weight: 30 - region: content - settings: { } - third_party_settings: { } - promote: - type: boolean_checkbox - settings: - display_label: true - weight: 15 - region: content - third_party_settings: { } - status: - type: boolean_checkbox - settings: - display_label: true - weight: 120 - region: content - third_party_settings: { } - sticky: - type: boolean_checkbox - settings: - display_label: true - weight: 16 - region: content - third_party_settings: { } - title: - type: string_textfield - weight: -5 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - region: content - third_party_settings: { } -hidden: { } diff --git a/unlv_image/config/install/core.entity_form_display.node.family.default.yml b/unlv_image/config/install/core.entity_form_display.node.family.default.yml deleted file mode 100644 index 1c74a62..0000000 --- a/unlv_image/config/install/core.entity_form_display.node.family.default.yml +++ /dev/null @@ -1,75 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.family.field_relation - - field.field.node.family.field_uris - - node.type.family - module: - - path -id: node.family.default -targetEntityType: node -bundle: family -mode: default -content: - created: - type: datetime_timestamp - weight: 10 - region: content - settings: { } - third_party_settings: { } - field_relation: - weight: 121 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - third_party_settings: { } - type: entity_reference_autocomplete - region: content - path: - type: path - weight: 30 - region: content - settings: { } - third_party_settings: { } - promote: - type: boolean_checkbox - settings: - display_label: true - weight: 15 - region: content - third_party_settings: { } - status: - type: boolean_checkbox - settings: - display_label: true - weight: 120 - region: content - third_party_settings: { } - sticky: - type: boolean_checkbox - settings: - display_label: true - weight: 16 - region: content - third_party_settings: { } - title: - type: string_textfield - weight: -5 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - region: content - third_party_settings: { } -hidden: - field_uris: true diff --git a/unlv_image/config/install/core.entity_form_display.node.person.default.yml b/unlv_image/config/install/core.entity_form_display.node.person.default.yml deleted file mode 100644 index 03317e9..0000000 --- a/unlv_image/config/install/core.entity_form_display.node.person.default.yml +++ /dev/null @@ -1,93 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.person.body - - field.field.node.person.field_relation - - field.field.node.person.field_uris - - node.type.person - module: - - path - - text -id: node.person.default -targetEntityType: node -bundle: person -mode: default -content: - body: - type: text_textarea_with_summary - weight: 121 - settings: - rows: 9 - summary_rows: 3 - placeholder: '' - third_party_settings: { } - region: content - created: - type: datetime_timestamp - weight: 10 - region: content - settings: { } - third_party_settings: { } - field_relation: - weight: 123 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - third_party_settings: { } - type: entity_reference_autocomplete - region: content - field_uris: - weight: 122 - settings: - rows: 5 - placeholder: '' - third_party_settings: { } - type: string_textarea - region: content - path: - type: path - weight: 30 - region: content - settings: { } - third_party_settings: { } - promote: - type: boolean_checkbox - settings: - display_label: true - weight: 15 - region: content - third_party_settings: { } - status: - type: boolean_checkbox - settings: - display_label: true - weight: 120 - region: content - third_party_settings: { } - sticky: - type: boolean_checkbox - settings: - display_label: true - weight: 16 - region: content - third_party_settings: { } - title: - type: string_textfield - weight: -5 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - region: content - third_party_settings: { } -hidden: { } diff --git a/unlv_image/config/install/core.entity_form_display.node.subject.default.yml b/unlv_image/config/install/core.entity_form_display.node.subject.default.yml deleted file mode 100644 index d0712ef..0000000 --- a/unlv_image/config/install/core.entity_form_display.node.subject.default.yml +++ /dev/null @@ -1,83 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.subject.body - - field.field.node.subject.field_uris - - node.type.subject - module: - - path - - text -id: node.subject.default -targetEntityType: node -bundle: subject -mode: default -content: - body: - type: text_textarea_with_summary - weight: 121 - settings: - rows: 9 - summary_rows: 3 - placeholder: '' - third_party_settings: { } - region: content - created: - type: datetime_timestamp - weight: 10 - region: content - settings: { } - third_party_settings: { } - field_uris: - weight: 122 - settings: - rows: 5 - placeholder: '' - third_party_settings: { } - type: string_textarea - region: content - path: - type: path - weight: 30 - region: content - settings: { } - third_party_settings: { } - promote: - type: boolean_checkbox - settings: - display_label: true - weight: 15 - region: content - third_party_settings: { } - status: - type: boolean_checkbox - settings: - display_label: true - weight: 120 - region: content - third_party_settings: { } - sticky: - type: boolean_checkbox - settings: - display_label: true - weight: 16 - region: content - third_party_settings: { } - title: - type: string_textfield - weight: -5 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - region: content - third_party_settings: { } -hidden: { } diff --git a/unlv_image/config/install/core.entity_form_display.node.unlv_image.default.yml b/unlv_image/config/install/core.entity_form_display.node.unlv_image.default.yml deleted file mode 100644 index 56da962..0000000 --- a/unlv_image/config/install/core.entity_form_display.node.unlv_image.default.yml +++ /dev/null @@ -1,124 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.unlv_image.field_creator - - field.field.node.unlv_image.field_description - - field.field.node.unlv_image.field_digital_id - - field.field.node.unlv_image.field_member_of - - field.field.node.unlv_image.field_subjects - - field.field.node.unlv_image.field_tags - - node.type.unlv_image - module: - - path - enforced: - module: - - unlv_image -id: node.unlv_image.default -targetEntityType: node -bundle: unlv_image -mode: default -content: - created: - type: datetime_timestamp - weight: 2 - region: content - settings: { } - third_party_settings: { } - field_creator: - weight: 121 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - third_party_settings: { } - type: entity_reference_autocomplete - region: content - field_description: - weight: 6 - settings: - rows: 5 - placeholder: '' - third_party_settings: { } - type: string_textarea - region: content - field_digital_id: - type: string_textfield - weight: 0 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - field_member_of: - weight: 7 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - third_party_settings: { } - type: entity_reference_autocomplete - region: content - field_subjects: - weight: 122 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - third_party_settings: { } - type: entity_reference_autocomplete - region: content - field_tags: - weight: 123 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - third_party_settings: { } - type: entity_reference_autocomplete - region: content - path: - type: path - weight: 5 - region: content - settings: { } - third_party_settings: { } - promote: - type: boolean_checkbox - settings: - display_label: true - weight: 3 - region: content - third_party_settings: { } - status: - type: boolean_checkbox - settings: - display_label: true - weight: 120 - region: content - third_party_settings: { } - sticky: - type: boolean_checkbox - settings: - display_label: true - weight: 4 - region: content - third_party_settings: { } - title: - type: string_textfield - weight: 0 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 1 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - region: content - third_party_settings: { } -hidden: { } diff --git a/unlv_image/config/install/core.entity_view_display.node.corporate_body.default.yml b/unlv_image/config/install/core.entity_view_display.node.corporate_body.default.yml deleted file mode 100644 index 5ebea2a..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.corporate_body.default.yml +++ /dev/null @@ -1,42 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.corporate_body.body - - field.field.node.corporate_body.field_relation - - field.field.node.corporate_body.field_uris - - node.type.corporate_body - module: - - text - - user -id: node.corporate_body.default -targetEntityType: node -bundle: corporate_body -mode: default -content: - body: - label: hidden - type: text_default - weight: 101 - settings: { } - third_party_settings: { } - region: content - field_relation: - weight: 103 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_uris: - weight: 102 - label: above - settings: { } - third_party_settings: { } - type: basic_string - region: content - links: - weight: 100 - region: content -hidden: { } diff --git a/unlv_image/config/install/core.entity_view_display.node.corporate_body.teaser.yml b/unlv_image/config/install/core.entity_view_display.node.corporate_body.teaser.yml deleted file mode 100644 index c01ee20..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.corporate_body.teaser.yml +++ /dev/null @@ -1,27 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.teaser - - field.field.node.corporate_body.body - - node.type.corporate_body - module: - - text - - user -id: node.corporate_body.teaser -targetEntityType: node -bundle: corporate_body -mode: teaser -content: - body: - label: hidden - type: text_summary_or_trimmed - weight: 101 - settings: - trim_length: 600 - third_party_settings: { } - region: content - links: - weight: 100 - region: content -hidden: { } diff --git a/unlv_image/config/install/core.entity_view_display.node.family.default.yml b/unlv_image/config/install/core.entity_view_display.node.family.default.yml deleted file mode 100644 index 7d7e37a..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.family.default.yml +++ /dev/null @@ -1,27 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.family.field_relation - - field.field.node.family.field_uris - - node.type.family - module: - - user -id: node.family.default -targetEntityType: node -bundle: family -mode: default -content: - field_relation: - weight: 101 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - links: - weight: 100 - region: content -hidden: - field_uris: true diff --git a/unlv_image/config/install/core.entity_view_display.node.person.default.yml b/unlv_image/config/install/core.entity_view_display.node.person.default.yml deleted file mode 100644 index 970beb8..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.person.default.yml +++ /dev/null @@ -1,40 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.person.body - - field.field.node.person.field_relation - - field.field.node.person.field_uris - - node.type.person - module: - - text - - user -id: node.person.default -targetEntityType: node -bundle: person -mode: default -content: - body: - label: hidden - type: text_default - weight: 101 - settings: { } - third_party_settings: { } - region: content - field_relation: - weight: 103 - label: above - settings: - link: true - third_party_settings: { } - field_uris: - weight: 102 - label: above - settings: { } - third_party_settings: { } - type: basic_string - region: content - links: - weight: 100 - region: content -hidden: { } diff --git a/unlv_image/config/install/core.entity_view_display.node.person.teaser.yml b/unlv_image/config/install/core.entity_view_display.node.person.teaser.yml deleted file mode 100644 index bf2e1d9..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.person.teaser.yml +++ /dev/null @@ -1,27 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.teaser - - field.field.node.person.body - - node.type.person - module: - - text - - user -id: node.person.teaser -targetEntityType: node -bundle: person -mode: teaser -content: - body: - label: hidden - type: text_summary_or_trimmed - weight: 101 - settings: - trim_length: 600 - third_party_settings: { } - region: content - links: - weight: 100 - region: content -hidden: { } diff --git a/unlv_image/config/install/core.entity_view_display.node.subject.default.yml b/unlv_image/config/install/core.entity_view_display.node.subject.default.yml deleted file mode 100644 index 68b4b22..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.subject.default.yml +++ /dev/null @@ -1,33 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.subject.body - - field.field.node.subject.field_uris - - node.type.subject - module: - - text - - user -id: node.subject.default -targetEntityType: node -bundle: subject -mode: default -content: - body: - label: hidden - type: text_default - weight: 101 - settings: { } - third_party_settings: { } - region: content - field_uris: - weight: 102 - label: above - settings: { } - third_party_settings: { } - type: basic_string - region: content - links: - weight: 100 - region: content -hidden: { } diff --git a/unlv_image/config/install/core.entity_view_display.node.subject.teaser.yml b/unlv_image/config/install/core.entity_view_display.node.subject.teaser.yml deleted file mode 100644 index 3299ce3..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.subject.teaser.yml +++ /dev/null @@ -1,27 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.teaser - - field.field.node.subject.body - - node.type.subject - module: - - text - - user -id: node.subject.teaser -targetEntityType: node -bundle: subject -mode: teaser -content: - body: - label: hidden - type: text_summary_or_trimmed - weight: 101 - settings: - trim_length: 600 - third_party_settings: { } - region: content - links: - weight: 100 - region: content -hidden: { } diff --git a/unlv_image/config/install/core.entity_view_display.node.unlv_image.binary.yml b/unlv_image/config/install/core.entity_view_display.node.unlv_image.binary.yml deleted file mode 100644 index 2552319..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.unlv_image.binary.yml +++ /dev/null @@ -1,84 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.binary - - field.field.node.unlv_image.field_creator - - field.field.node.unlv_image.field_description - - field.field.node.unlv_image.field_digital_id - - field.field.node.unlv_image.field_member_of - - field.field.node.unlv_image.field_subjects - - field.field.node.unlv_image.field_tags - - node.type.unlv_image - enforced: - module: - - unlv_image - module: - - user -id: node.unlv_image.binary -targetEntityType: node -bundle: unlv_image -mode: binary -content: - display_media_entity_view_1: - weight: 0 - region: content - settings: { } - third_party_settings: { } - field_creator: - weight: 4 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_description: - weight: 5 - label: above - settings: { } - third_party_settings: { } - type: basic_string - region: content - field_digital_id: - type: string - weight: 1 - region: content - label: above - settings: - link_to_entity: false - third_party_settings: { } - field_member_of: - weight: 3 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_subjects: - weight: 6 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_tags: - weight: 7 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - links: - weight: 2 - region: content - settings: { } - third_party_settings: { } -hidden: - display_media_service_file: true - display_media_thumbnail: true - openseadragon_media_evas_entity_view_2: true - openseadragon_media_evas_service_file: true diff --git a/unlv_image/config/install/core.entity_view_display.node.unlv_image.default.yml b/unlv_image/config/install/core.entity_view_display.node.unlv_image.default.yml deleted file mode 100644 index 9f7aedf..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.unlv_image.default.yml +++ /dev/null @@ -1,76 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.field.node.unlv_image.field_creator - - field.field.node.unlv_image.field_description - - field.field.node.unlv_image.field_digital_id - - field.field.node.unlv_image.field_member_of - - field.field.node.unlv_image.field_subjects - - field.field.node.unlv_image.field_tags - - node.type.unlv_image - enforced: - module: - - unlv_image - module: - - user -id: node.unlv_image.default -targetEntityType: node -bundle: unlv_image -mode: default -content: - field_creator: - weight: 3 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_description: - weight: 4 - label: above - settings: { } - third_party_settings: { } - type: basic_string - region: content - field_digital_id: - type: string - weight: 0 - region: content - label: above - settings: - link_to_entity: false - third_party_settings: { } - field_member_of: - weight: 2 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_subjects: - weight: 5 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - links: - weight: 1 - region: content - settings: { } - third_party_settings: { } - openseadragon_media_evas_service_file: - weight: 0 - region: content - settings: { } - third_party_settings: { } -hidden: - display_media_entity_view_1: true - display_media_service_file: true - display_media_thumbnail: true - field_tags: true - openseadragon_media_evas_entity_view_2: true diff --git a/unlv_image/config/install/core.entity_view_display.node.unlv_image.open_seadragon.yml b/unlv_image/config/install/core.entity_view_display.node.unlv_image.open_seadragon.yml deleted file mode 100644 index bd68f04..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.unlv_image.open_seadragon.yml +++ /dev/null @@ -1,75 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.open_seadragon - - field.field.node.unlv_image.field_creator - - field.field.node.unlv_image.field_description - - field.field.node.unlv_image.field_digital_id - - field.field.node.unlv_image.field_member_of - - field.field.node.unlv_image.field_subjects - - field.field.node.unlv_image.field_tags - - node.type.unlv_image - enforced: - module: - - unlv_image - module: - - user -id: node.unlv_image.open_seadragon -targetEntityType: node -bundle: unlv_image -mode: open_seadragon -content: - field_creator: - weight: 3 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_description: - weight: 4 - label: above - settings: { } - third_party_settings: { } - type: basic_string - region: content - field_digital_id: - type: string - weight: 0 - region: content - label: above - settings: - link_to_entity: false - third_party_settings: { } - field_member_of: - weight: 2 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_subjects: - weight: 5 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - field_tags: - weight: 6 - label: above - settings: - link: true - third_party_settings: { } - type: entity_reference_label - region: content - links: - weight: 1 - region: content - settings: { } - third_party_settings: { } -hidden: { } diff --git a/unlv_image/config/install/core.entity_view_display.node.unlv_image.teaser.yml b/unlv_image/config/install/core.entity_view_display.node.unlv_image.teaser.yml deleted file mode 100644 index 224d8b7..0000000 --- a/unlv_image/config/install/core.entity_view_display.node.unlv_image.teaser.yml +++ /dev/null @@ -1,52 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.teaser - - field.field.node.unlv_image.field_creator - - field.field.node.unlv_image.field_description - - field.field.node.unlv_image.field_digital_id - - field.field.node.unlv_image.field_member_of - - field.field.node.unlv_image.field_subjects - - field.field.node.unlv_image.field_tags - - node.type.unlv_image - enforced: - module: - - unlv_image - module: - - user -id: node.unlv_image.teaser -targetEntityType: node -bundle: unlv_image -mode: teaser -content: - display_media_thumbnail: - weight: 0 - region: content - settings: { } - third_party_settings: { } - field_description: - type: basic_string - weight: 1 - region: content - label: above - settings: { } - third_party_settings: { } - field_digital_id: - type: string - weight: 2 - region: content - label: inline - settings: - link_to_entity: false - third_party_settings: { } -hidden: - display_media_entity_view_1: true - display_media_service_file: true - field_creator: true - field_member_of: true - field_subjects: true - field_tags: true - links: true - openseadragon_media_evas_entity_view_2: true - openseadragon_media_evas_service_file: true diff --git a/unlv_image/config/install/field.field.node.corporate_body.body.yml b/unlv_image/config/install/field.field.node.corporate_body.body.yml deleted file mode 100644 index 28b9a5e..0000000 --- a/unlv_image/config/install/field.field.node.corporate_body.body.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.body - - node.type.corporate_body - module: - - text -id: node.corporate_body.body -field_name: body -entity_type: node -bundle: corporate_body -label: Description -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - display_summary: true -field_type: text_with_summary diff --git a/unlv_image/config/install/field.field.node.corporate_body.field_relation.yml b/unlv_image/config/install/field.field.node.corporate_body.field_relation.yml deleted file mode 100644 index 2a98979..0000000 --- a/unlv_image/config/install/field.field.node.corporate_body.field_relation.yml +++ /dev/null @@ -1,31 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_relation - - node.type.corporate_body - - node.type.family - - node.type.person -id: node.corporate_body.field_relation -field_name: field_relation -entity_type: node -bundle: corporate_body -label: relation -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - corporate_body: corporate_body - family: family - person: person - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: corporate_body -field_type: entity_reference diff --git a/unlv_image/config/install/field.field.node.corporate_body.field_uris.yml b/unlv_image/config/install/field.field.node.corporate_body.field_uris.yml deleted file mode 100644 index 6516818..0000000 --- a/unlv_image/config/install/field.field.node.corporate_body.field_uris.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_uris - - node.type.corporate_body -id: node.corporate_body.field_uris -field_name: field_uris -entity_type: node -bundle: corporate_body -label: URIs -description: 'Universal Resource Identifiers (including URLs) for other authority sources.' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string_long diff --git a/unlv_image/config/install/field.field.node.family.field_relation.yml b/unlv_image/config/install/field.field.node.family.field_relation.yml deleted file mode 100644 index d0a83b0..0000000 --- a/unlv_image/config/install/field.field.node.family.field_relation.yml +++ /dev/null @@ -1,31 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_relation - - node.type.corporate_body - - node.type.family - - node.type.person -id: node.family.field_relation -field_name: field_relation -entity_type: node -bundle: family -label: relation -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - corporate_body: corporate_body - family: family - person: person - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: corporate_body -field_type: entity_reference diff --git a/unlv_image/config/install/field.field.node.family.field_uris.yml b/unlv_image/config/install/field.field.node.family.field_uris.yml deleted file mode 100644 index 8716c2d..0000000 --- a/unlv_image/config/install/field.field.node.family.field_uris.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_uris - - node.type.family -id: node.family.field_uris -field_name: field_uris -entity_type: node -bundle: family -label: URIs -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: string_long diff --git a/unlv_image/config/install/field.field.node.person.body.yml b/unlv_image/config/install/field.field.node.person.body.yml deleted file mode 100644 index ac04275..0000000 --- a/unlv_image/config/install/field.field.node.person.body.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.body - - node.type.person - module: - - text -id: node.person.body -field_name: body -entity_type: node -bundle: person -label: Body -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - display_summary: true -field_type: text_with_summary diff --git a/unlv_image/config/install/field.field.node.person.field_relation.yml b/unlv_image/config/install/field.field.node.person.field_relation.yml deleted file mode 100644 index f328254..0000000 --- a/unlv_image/config/install/field.field.node.person.field_relation.yml +++ /dev/null @@ -1,31 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_relation - - node.type.corporate_body - - node.type.family - - node.type.person -id: node.person.field_relation -field_name: field_relation -entity_type: node -bundle: person -label: Relation -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - corporate_body: corporate_body - family: family - person: person - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: corporate_body -field_type: entity_reference diff --git a/unlv_image/config/install/field.field.node.person.field_uris.yml b/unlv_image/config/install/field.field.node.person.field_uris.yml deleted file mode 100644 index c453bcb..0000000 --- a/unlv_image/config/install/field.field.node.person.field_uris.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_uris - - node.type.person -id: node.person.field_uris -field_name: field_uris -entity_type: node -bundle: person -label: URIs -description: 'Universal Resource Identifiers (including URLs) for other authority sources.' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: string_long diff --git a/unlv_image/config/install/field.field.node.subject.body.yml b/unlv_image/config/install/field.field.node.subject.body.yml deleted file mode 100644 index 70406a7..0000000 --- a/unlv_image/config/install/field.field.node.subject.body.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.body - - node.type.subject - module: - - text -id: node.subject.body -field_name: body -entity_type: node -bundle: subject -label: Body -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - display_summary: true -field_type: text_with_summary diff --git a/unlv_image/config/install/field.field.node.subject.field_uris.yml b/unlv_image/config/install/field.field.node.subject.field_uris.yml deleted file mode 100644 index a877624..0000000 --- a/unlv_image/config/install/field.field.node.subject.field_uris.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_uris - - node.type.subject -id: node.subject.field_uris -field_name: field_uris -entity_type: node -bundle: subject -label: URIs -description: 'Universal Resource Identifiers (including URLs) for other authority sources.' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: string_long diff --git a/unlv_image/config/install/field.field.node.unlv_image.field_creator.yml b/unlv_image/config/install/field.field.node.unlv_image.field_creator.yml deleted file mode 100644 index b1eaa68..0000000 --- a/unlv_image/config/install/field.field.node.unlv_image.field_creator.yml +++ /dev/null @@ -1,32 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_creator - - node.type.corporate_body - - node.type.family - - node.type.person - - node.type.unlv_image -id: node.unlv_image.field_creator -field_name: field_creator -entity_type: node -bundle: unlv_image -label: Creators -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - corporate_body: corporate_body - family: family - person: person - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: corporate_body -field_type: entity_reference diff --git a/unlv_image/config/install/field.field.node.unlv_image.field_description.yml b/unlv_image/config/install/field.field.node.unlv_image.field_description.yml deleted file mode 100644 index bc0fb8b..0000000 --- a/unlv_image/config/install/field.field.node.unlv_image.field_description.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_description - - node.type.unlv_image - enforced: - module: - - unlv_image -id: node.unlv_image.field_description -field_name: field_description -entity_type: node -bundle: unlv_image -label: Description -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: string_long diff --git a/unlv_image/config/install/field.field.node.unlv_image.field_digital_id.yml b/unlv_image/config/install/field.field.node.unlv_image.field_digital_id.yml deleted file mode 100644 index 7e338c4..0000000 --- a/unlv_image/config/install/field.field.node.unlv_image.field_digital_id.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_digital_id - - node.type.unlv_image -id: node.unlv_image.field_digital_id -field_name: field_digital_id -entity_type: node -bundle: unlv_image -label: 'Digital ID' -description: '' -required: true -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/unlv_image/config/install/field.field.node.unlv_image.field_member_of.yml b/unlv_image/config/install/field.field.node.unlv_image.field_member_of.yml deleted file mode 100644 index 6ad0e19..0000000 --- a/unlv_image/config/install/field.field.node.unlv_image.field_member_of.yml +++ /dev/null @@ -1,29 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_member_of - - node.type.islandora_object - - node.type.unlv_image -id: node.unlv_image.field_member_of -field_name: field_member_of -entity_type: node -bundle: unlv_image -label: 'Member of' -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - islandora_object: islandora_object - unlv_image: unlv_image - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: islandora_object -field_type: entity_reference diff --git a/unlv_image/config/install/field.field.node.unlv_image.field_subjects.yml b/unlv_image/config/install/field.field.node.unlv_image.field_subjects.yml deleted file mode 100644 index 0b462eb..0000000 --- a/unlv_image/config/install/field.field.node.unlv_image.field_subjects.yml +++ /dev/null @@ -1,34 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_subjects - - node.type.corporate_body - - node.type.family - - node.type.person - - node.type.subject - - node.type.unlv_image -id: node.unlv_image.field_subjects -field_name: field_subjects -entity_type: node -bundle: unlv_image -label: Subjects -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - corporate_body: corporate_body - family: family - person: person - subject: subject - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: corporate_body -field_type: entity_reference diff --git a/unlv_image/config/install/field.field.node.unlv_image.field_tags.yml b/unlv_image/config/install/field.field.node.unlv_image.field_tags.yml deleted file mode 100644 index f86953e..0000000 --- a/unlv_image/config/install/field.field.node.unlv_image.field_tags.yml +++ /dev/null @@ -1,28 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_tags - - node.type.unlv_image - - taxonomy.vocabulary.tags -id: node.unlv_image.field_tags -field_name: field_tags -entity_type: node -bundle: unlv_image -label: Tags -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - handler: 'default:taxonomy_term' - handler_settings: - target_bundles: - tags: tags - sort: - field: name - direction: asc - auto_create: false - auto_create_bundle: '' -field_type: entity_reference diff --git a/unlv_image/config/install/field.storage.node.field_creator.yml b/unlv_image/config/install/field.storage.node.field_creator.yml deleted file mode 100644 index a0d7f95..0000000 --- a/unlv_image/config/install/field.storage.node.field_creator.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - node -id: node.field_creator -field_name: field_creator -entity_type: node -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: -1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/unlv_image/config/install/field.storage.node.field_digital_id.yml b/unlv_image/config/install/field.storage.node.field_digital_id.yml deleted file mode 100644 index 4a0be33..0000000 --- a/unlv_image/config/install/field.storage.node.field_digital_id.yml +++ /dev/null @@ -1,20 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - node -id: node.field_digital_id -field_name: field_digital_id -entity_type: node -type: string -settings: - max_length: 255 - is_ascii: false - case_sensitive: false -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/unlv_image/config/install/field.storage.node.field_relation.yml b/unlv_image/config/install/field.storage.node.field_relation.yml deleted file mode 100644 index 9fb00f4..0000000 --- a/unlv_image/config/install/field.storage.node.field_relation.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - node -id: node.field_relation -field_name: field_relation -entity_type: node -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: -1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/unlv_image/config/install/field.storage.node.field_subjects.yml b/unlv_image/config/install/field.storage.node.field_subjects.yml deleted file mode 100644 index 79a0b5c..0000000 --- a/unlv_image/config/install/field.storage.node.field_subjects.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - node -id: node.field_subjects -field_name: field_subjects -entity_type: node -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: -1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/unlv_image/config/install/field.storage.node.field_uris.yml b/unlv_image/config/install/field.storage.node.field_uris.yml deleted file mode 100644 index 6ec0256..0000000 --- a/unlv_image/config/install/field.storage.node.field_uris.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - node -id: node.field_uris -field_name: field_uris -entity_type: node -type: string_long -settings: - case_sensitive: false -module: core -locked: false -cardinality: -1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/unlv_image/config/install/node.type.corporate_body.yml b/unlv_image/config/install/node.type.corporate_body.yml deleted file mode 100644 index e6de1fe..0000000 --- a/unlv_image/config/install/node.type.corporate_body.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - menu_ui -third_party_settings: - menu_ui: - available_menus: - - main - parent: 'main:' -name: 'Corporate Body' -type: corporate_body -description: 'An organization or group of persons that is identified by a particular name and that acts, or may act, as an entity. Also includes an individual acting in a corporate capacity.' -help: '' -new_revision: true -preview_mode: 1 -display_submitted: false diff --git a/unlv_image/config/install/node.type.family.yml b/unlv_image/config/install/node.type.family.yml deleted file mode 100644 index 8941aa9..0000000 --- a/unlv_image/config/install/node.type.family.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - menu_ui -third_party_settings: - menu_ui: - available_menus: - - main - parent: 'main:' -name: 'Family' -type: family -description: '' -help: '' -new_revision: true -preview_mode: 1 -display_submitted: false diff --git a/unlv_image/config/install/node.type.person.yml b/unlv_image/config/install/node.type.person.yml deleted file mode 100644 index 952572c..0000000 --- a/unlv_image/config/install/node.type.person.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - menu_ui -third_party_settings: - menu_ui: - available_menus: - - main - parent: 'main:' -name: Person -type: person -description: '' -help: '' -new_revision: true -preview_mode: 1 -display_submitted: false diff --git a/unlv_image/config/install/node.type.subject.yml b/unlv_image/config/install/node.type.subject.yml deleted file mode 100644 index 3ec5620..0000000 --- a/unlv_image/config/install/node.type.subject.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - menu_ui -third_party_settings: - menu_ui: - available_menus: - - main - parent: 'main:' -name: Subject -type: subject -description: '' -help: '' -new_revision: true -preview_mode: 1 -display_submitted: false diff --git a/unlv_image/config/install/node.type.unlv_image.yml b/unlv_image/config/install/node.type.unlv_image.yml deleted file mode 100644 index 289a5dd..0000000 --- a/unlv_image/config/install/node.type.unlv_image.yml +++ /dev/null @@ -1,20 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - menu_ui - enforced: - module: - - unlv_image -third_party_settings: - menu_ui: - available_menus: - - main - parent: 'main:' -name: 'UNLV Image' -type: unlv_image -description: 'Models images in Islandora using a UNLV metadata profile' -help: '' -new_revision: true -preview_mode: 1 -display_submitted: false diff --git a/unlv_image/config/install/node.unlv_image.field_tags.yml b/unlv_image/config/install/node.unlv_image.field_tags.yml deleted file mode 100644 index f86953e..0000000 --- a/unlv_image/config/install/node.unlv_image.field_tags.yml +++ /dev/null @@ -1,28 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_tags - - node.type.unlv_image - - taxonomy.vocabulary.tags -id: node.unlv_image.field_tags -field_name: field_tags -entity_type: node -bundle: unlv_image -label: Tags -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - handler: 'default:taxonomy_term' - handler_settings: - target_bundles: - tags: tags - sort: - field: name - direction: asc - auto_create: false - auto_create_bundle: '' -field_type: entity_reference diff --git a/unlv_image/config/install/rdf.mapping.node.unlv_image.yml b/unlv_image/config/install/rdf.mapping.node.unlv_image.yml deleted file mode 100644 index 83c87fb..0000000 --- a/unlv_image/config/install/rdf.mapping.node.unlv_image.yml +++ /dev/null @@ -1,50 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.unlv_image - enforced: - module: - - unlv_image - module: - - node -id: node.unlv_image_ -targetEntityType: node -bundle: unlv_image -types: - - 'pcdm:Object' - - 'schema:ImageObject' -fieldMappings: - field_creator: - properties: - - 'dc:creator' - field_digital_id: - properties: - - 'dc:identifier' - field_description: - properties: - - 'dc:description' - field_member_of: - properties: - - 'pcdm:memberOf' - mapping_type: rel - field_subjects: - properties: - - 'dc:subject' - title: - properties: - - 'dc:title' - created: - properties: - - 'schema:dateCreated' - datatype_callback: - callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value' - changed: - properties: - - 'schema:dateModified' - datatype_callback: - callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value' - uid: - properties: - - 'schema:author' - mapping_type: rel diff --git a/unlv_image/config/install/views.view.subject_images.yml b/unlv_image/config/install/views.view.subject_images.yml deleted file mode 100644 index d97bd26..0000000 --- a/unlv_image/config/install/views.view.subject_images.yml +++ /dev/null @@ -1,232 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.unlv_image - module: - - node - - user -id: subject_images -label: subject_images -module: views -description: '' -tag: '' -base_table: node_field_data -base_field: nid -core: 8.x -display: - default: - display_plugin: default - id: default - display_title: Master - position: 0 - display_options: - access: - type: perm - options: - perm: 'access content' - cache: - type: tag - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - 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 - pager: - type: some - options: - items_per_page: 10 - offset: 0 - style: - type: default - row: - type: fields - fields: - title: - id: title - table: node_field_data - field: title - settings: - link_to_entity: true - plugin_id: field - relationship: none - group_type: group - admin_label: '' - 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: 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 - 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 - filters: - status: - value: '1' - table: node_field_data - field: status - plugin_id: boolean - entity_type: node - entity_field: status - id: status - expose: - operator: '' - group: 1 - type: - id: type - table: node_field_data - field: type - value: - unlv_image: unlv_image - entity_type: node - entity_field: type - plugin_id: bundle - sorts: - title: - id: title - table: node_field_data - field: title - order: ASC - entity_type: node - entity_field: title - plugin_id: standard - relationship: none - group_type: group - admin_label: '' - exposed: false - expose: - label: '' - title: person_images - header: { } - footer: { } - empty: { } - relationships: - field_subjects: - id: field_subjects - table: node__field_subjects - field: field_subjects - relationship: none - group_type: group - admin_label: 'field_subjects: Content' - required: true - plugin_id: standard - arguments: - field_subjects_target_id: - id: field_subjects_target_id - table: node__field_subjects - field: field_subjects_target_id - relationship: none - group_type: group - admin_label: '' - default_action: default - exception: - value: all - title_enable: false - title: All - title_enable: false - title: '' - default_argument_type: node - default_argument_options: { } - default_argument_skip_url: false - summary_options: - base_path: '' - count: true - items_per_page: 25 - override: false - 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 - plugin_id: numeric - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - 'user.node_grants:view' - - user.permissions - tags: { } - block_1: - display_plugin: block - id: block_1 - display_title: Block - position: 1 - display_options: - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - 'user.node_grants:view' - - user.permissions - tags: { } diff --git a/unlv_image/unlv_image.info.yml b/unlv_image/unlv_image.info.yml deleted file mode 100644 index 79845bd..0000000 --- a/unlv_image/unlv_image.info.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: unlv_image -type: module -description: UNLV Image -core: 8.x -package: unlv -dependencies: - - islandora_image diff --git a/unlv_image/unlv_image.install b/unlv_image/unlv_image.install deleted file mode 100644 index 394faf2..0000000 --- a/unlv_image/unlv_image.install +++ /dev/null @@ -1,37 +0,0 @@ -getEditable('context.context.repository_content'); - $repository_content_config->set('conditions.node_type.bundles.unlv_image','unlv_image'); - $repository_content_config->save(TRUE); - - $display_media_config = $config_factory->getEditable('views.view.display_media'); - $media_displays = $display_media_config->get('display'); - foreach ($media_displays as $display_name => $display) { - if(!empty($display['display_options']['bundles'])){ - $media_display_bundles = $display['display_options']['bundles']; - $media_display_bundles[] = 'unlv_image'; - } - $display_media_config->set("display.$display_name.display_options.bundles",$media_display_bundles); - } - $display_media_config->save(TRUE); - - $openseadragon_media_config = $config_factory->getEditable('views.view.openseadragon_media_evas'); - $openseadragon_displays = $openseadragon_media_config->get('display'); - foreach ($openseadragon_displays as $display_name => $display) { - if(!empty($display['display_options']['bundles'])){ - $media_display_bundles = $display['display_options']['bundles']; - $media_display_bundles[] = 'unlv_image'; - } - $openseadragon_media_config->set("display.$display_name.display_options.bundles",$media_display_bundles); - } - $openseadragon_media_config->save(TRUE); -} diff --git a/unlv_image/unlv_image.module b/unlv_image/unlv_image.module deleted file mode 100644 index 9dbffbb..0000000 --- a/unlv_image/unlv_image.module +++ /dev/null @@ -1,24 +0,0 @@ -' . t('About') . ''; - $output .= '

' . t('UNLV Image') . '

'; - return $output; - - default: - } -}