Browse Source

object ingest success message

pull/419/head
William Panting 11 years ago
parent
commit
283186f3da
  1. 3
      includes/ingest.form.inc

3
includes/ingest.form.inc

@ -773,6 +773,9 @@ function islandora_ingest_form_submit(array $form, array &$form_state) {
try { try {
islandora_add_object($object); islandora_add_object($object);
$form_state['redirect'] = "islandora/object/{$object->id}"; $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) { catch (Exception $e) {
// If post hooks throws it may already exist at this point but may be // If post hooks throws it may already exist at this point but may be

Loading…
Cancel
Save