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
|
|
|
|
// $Id$
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @file fedora_ilives.install
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implementation of hook_enable()
|
|
|
|
* Check for and install ilives book and page content models and viewer service
|
|
|
|
* definitions and deployment objects if necessary.
|
|
|
|
*/
|
|
|
|
function fedora_ilives_enable() {
|
|
|
|
module_load_include('inc', 'fedora_reposiotry', 'api/fedora_utils');
|
|
|
|
if (fedora_available()) {
|
|
|
|
module_load_include('module', 'fedora_ilives', 'fedora_ilives');
|
|
|
|
install_book_content_model_objects();
|
|
|
|
}
|
|
|
|
}
|