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
564 B

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