|
|
|
@ -1,5 +1,13 @@
|
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @file |
|
|
|
|
* This file contains all install related hooks. |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Implements hook_install(). |
|
|
|
|
*/ |
|
|
|
|
function islandora_basic_image_install() { |
|
|
|
|
$t = get_t(); |
|
|
|
|
|
|
|
|
@ -42,6 +50,9 @@ function islandora_basic_image_install() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Implements hook_uninstall(). |
|
|
|
|
*/ |
|
|
|
|
function islandora_basic_image_uninstall() { |
|
|
|
|
field_delete_instance(field_info_instance('node_content', 'field_tn', 'basic_image')); |
|
|
|
|
node_type_delete('basic_image'); |
|
|
|
|