From 0caae2f7668d803b3c42a6dd900da7441d980233 Mon Sep 17 00:00:00 2001 From: Mitch MacKenzie Date: Wed, 14 Nov 2012 14:52:35 -0400 Subject: [PATCH] Add pre ingest alter --- includes/islandora.ingest.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/islandora.ingest.inc b/includes/islandora.ingest.inc index 9aa4f4f7..e7356133 100644 --- a/includes/islandora.ingest.inc +++ b/includes/islandora.ingest.inc @@ -150,6 +150,8 @@ function islandora_ingest_new_object_prepare($namespace = NULL, $label = NULL, $ * The ingested FedoraObject, after running the post ingest hooks. */ function islandora_ingest_add_object(&$object) { + drupal_alter('islandora_pre_ingest', $object); + $object->repository->ingestObject($object); module_load_include('inc', 'islandora', 'includes/utilities');