From 34ff60a0a8880faa0c756e2b712d71f51d7cb0ee Mon Sep 17 00:00:00 2001 From: Brandon Weigel Date: Tue, 27 Feb 2018 15:11:13 +0000 Subject: [PATCH] Add warning to report page --- includes/orphaned_objects.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/orphaned_objects.inc b/includes/orphaned_objects.inc index 6ac54115..829b4811 100644 --- a/includes/orphaned_objects.inc +++ b/includes/orphaned_objects.inc @@ -49,6 +49,8 @@ function islandora_orphaned_objects_manage_form($form, $form_state) { ); } else { + drupal_set_message(t('Some objects may intentionally have no parents. If deleting objects, please be + absolutely sure that these objects are no longer required.'), 'warning'); $orphaned_objects = islandora_get_orphaned_objects(); $rows = array(); foreach ($orphaned_objects as $orphaned_object) {