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.
 
 
 
 

19 lines
336 B

<?php
/**
* @file
* Install hooks for this module.
*/
/**
* Implements hook_install().
*
* Creates shared fields for content types using MODS metadata.
*/
function islandora_dc_install() {
$mods_field = array(
'field_name' => ISLANDORA_MODS_FIELD,
'type' => 'xml_field_xml',
);
field_create_field($mods_field);
}