From 283186f3dad3dcb03910c765e40d36803238c00a Mon Sep 17 00:00:00 2001 From: William Panting Date: Thu, 17 Oct 2013 16:02:36 -0300 Subject: [PATCH] object ingest success message --- includes/ingest.form.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/ingest.form.inc b/includes/ingest.form.inc index 0ed75385..b49556d7 100644 --- a/includes/ingest.form.inc +++ b/includes/ingest.form.inc @@ -773,6 +773,9 @@ function islandora_ingest_form_submit(array $form, array &$form_state) { try { islandora_add_object($object); $form_state['redirect'] = "islandora/object/{$object->id}"; + drupal_set_message( + t('"@label" (ID: @pid) has been ingested.', array('@label' => $object->label, '@pid' => $object->id)), + 'status'); } catch (Exception $e) { // If post hooks throws it may already exist at this point but may be