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.
 
 
 
 

20 lines
473 B

<?php
/**
* @file
* This file contains all install related hooks.
*/
/**
* Implements hook_install().
*/
function islandora_collection_install() {
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.
islandora_add_fields_to_bundle(ISLANDORA_COLLECTION_CONTENT_TYPE);
}