Browse Source

Merge pull request #201 from mitchmac/7.x

Add pre ingest alter
pull/205/merge
Jonathan Green 12 years ago
parent
commit
f17b65965b
  1. 2
      includes/islandora.ingest.inc

2
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. * The ingested FedoraObject, after running the post ingest hooks.
*/ */
function islandora_ingest_add_object(&$object) { function islandora_ingest_add_object(&$object) {
drupal_alter('islandora_pre_ingest', $object);
$object->repository->ingestObject($object); $object->repository->ingestObject($object);
module_load_include('inc', 'islandora', 'includes/utilities'); module_load_include('inc', 'islandora', 'includes/utilities');

Loading…
Cancel
Save