|
|
|
@ -42,3 +42,26 @@ function islandora_collection_node_info() {
|
|
|
|
|
function islandora_collection_form($node, array &$form_state) { |
|
|
|
|
return node_content_form($node, $form_state); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Implements hook_insert(). |
|
|
|
|
*/ |
|
|
|
|
function islandora_collection_insert($node) { |
|
|
|
|
/* |
|
|
|
|
if (isset($_SERVER['HTTP_IGNORE_HOOKS']) && strcmp(strtolower($_SERVER['HTTP_IGNORE_HOOKS']), "true") == 0) { |
|
|
|
|
dd("IGNORING SAVING THE COLLECTION"); |
|
|
|
|
} |
|
|
|
|
dd("SAVING A COLLECTION"); |
|
|
|
|
dd($node); |
|
|
|
|
*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function islandora_collection_update($node) { |
|
|
|
|
/* |
|
|
|
|
if (isset($_SERVER['HTTP_IGNORE_HOOKS']) && strcmp(strtolower($_SERVER['HTTP_IGNORE_HOOKS']), "true") == 0) { |
|
|
|
|
dd("IGNORING UPDATING THE COLLECTION"); |
|
|
|
|
} |
|
|
|
|
dd("UPDATING A COLLECTION"); |
|
|
|
|
dd($node); |
|
|
|
|
*/ |
|
|
|
|
} |
|
|
|
|