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.
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* This file contains all install related hooks.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implements hook_install().
|
|
|
|
*/
|
|
|
|
function islandora_collection_install() {
|
|
|
|
module_load_include('inc', 'islandora', 'include/fields.inc');
|
|
|
|
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_BASIC_IMAGE_CONTENT_TYPE);
|
|
|
|
|
|
|
|
// Create the pcdm:hasMember relation.
|
|
|
|
islandora_collection_define_relations();
|
|
|
|
}
|