mjordan / islandora_workbench_integration
Islandora Workbench Integration
Installs: 46 753
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 4
Open Issues: 5
Type:drupal-module
This package is auto-updated.
Last update: 2024-11-06 14:08:18 UTC
README
Introduction
Drupal 9/10 Module required by Islandora Workbench. Enables the following Views:
- Term from URI
- Term from term name
Also enables the following REST resources:
- Field
- Field Storage
- Entity Form Display
- User
- URL alias
- File upload
- Media type
- Content type
- Taxonomy Vocabulary
Also provides endpoints for exposing:
- Drupal core's version number
- this module's version number
- a given file's checksum
Usage
There is no user interface to this module. It only installs configuration that is required by Islandora Workbench.
Requirements
Installation
You can install this module using Composer. Within your Drupal root directory, run the following:
composer require mjordan/islandora_workbench_integration "dev-main"
- Enable the module either under the "Admin > Extend" menu or by running
drush en -y islandora_workbench_integration
.
If you're deploying Islandora via ISLE, install and enable this module using these two commands from within your isle-dc directory:
docker-compose exec -T drupal with-contenv bash -lc "composer require mjordan/islandora_workbench_integration"
docker-compose exec -T drupal with-contenv bash -lc "drush en -y islandora_workbench_integration"
Configuration
By default, all vocabularies are registered in the views. To prevent vocabularies from being updated by Workbench, remove them from the "Terms in vocabulary" View using its "Taxonomy term: Vocabulary" filter.
Updates
Since this module enables a number of REST endpoints, you may need to reimport the configuration if a new endpoint is added. For example, after pulling in updates from Github, you should run the following drush
commands from within the /var/www/html/drupal/web
directory:
drush cim -y --partial --source=modules/contrib/islandora_workbench_integration/config/optional
drush cr
Or, if you are using ISLE:
docker-compose exec -T drupal with-contenv bash -lc "drush cim -y --partial --source=modules/contrib/islandora_workbench_integration/config/optional"
docker-compose exec -T drupal with-contenv bash -lc "drush cr"
Note that as of the 1.0.0 release, the "Terms in vocabulary" View is no longer used by Workbench. Unless you are using this View for some other purpose, as of version 1.0.0 you can disable/delete it from your Drupal.
Permissions
All REST endpoints added or endabled by this module require the use of Basic Authentication. The username/password combination used in your Islandora Workbench configuration files should be a member of the "Administrator" role.