Drupal modules for browsing and managing Fedora-based digital repositories.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
558 B

<?php
/**
* @file
* This file contains all install related hooks.
*/
/**
* Implements hook_install().
*/
function islandora_collection_install() {
10 years ago
module_load_include('inc', 'islandora', 'include/fields');
module_load_include('inc', 'islandora_collection', 'include/relations');
// Ensure the collection node type is available.
node_types_rebuild();
// Add default Islandora fields.
10 years ago
islandora_add_fields_to_bundle(ISLANDORA_COLLECTION_CONTENT_TYPE);
// Create the pcdm:hasMember relation.
islandora_collection_define_relations();
}