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
444 B
20 lines
444 B
<?php |
|
|
|
/** |
|
* @file |
|
* Install hooks for this module. |
|
*/ |
|
|
|
/** |
|
* Implements hook_install(). |
|
* |
|
* Creates shared fields for content types using MODS metadata. |
|
*/ |
|
function islandora_mods_install() { |
|
module_load_include('inc', 'islandora', 'include/fields'); |
|
|
|
islandora_create_field(array( |
|
'field_name' => ISLANDORA_MODS_FIELD, |
|
'type' => 'xml_field_xml', |
|
)); |
|
}
|
|
|