From aee2d3594f3a53668f2c2fadbb4320df09df1dd4 Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Thu, 28 Jan 2016 10:46:19 -0400 Subject: [PATCH] Remove extra breadcrumb and set title calls. --- includes/object_properties.form.inc | 1 - islandora.module | 5 ----- 2 files changed, 6 deletions(-) diff --git a/includes/object_properties.form.inc b/includes/object_properties.form.inc index ba975803..dcd59b4b 100644 --- a/includes/object_properties.form.inc +++ b/includes/object_properties.form.inc @@ -19,7 +19,6 @@ * The drupal form definition. */ function islandora_object_properties_form(array $form, array &$form_state, AbstractObject $object) { - drupal_set_title($object->label); $form_state['object'] = $object; $temp = islandora_invoke_hook_list(ISLANDORA_UPDATE_RELATED_OBJECTS_PROPERTIES_HOOK, $object->models, array($object)); $related_objects_pids = array(); diff --git a/islandora.module b/islandora.module index 25f01cbe..af25681e 100644 --- a/islandora.module +++ b/islandora.module @@ -979,8 +979,6 @@ function islandora_default_islandora_manage_overview_object(AbstractObject $obje function islandora_edit_object(AbstractObject $object) { module_load_include('inc', 'islandora', 'includes/breadcrumb'); module_load_include('inc', 'islandora', 'includes/utilities'); - drupal_set_title($object->label); - drupal_set_breadcrumb(islandora_get_breadcrumbs($object)); $output = array(); foreach (islandora_build_hook_list(ISLANDORA_EDIT_HOOK, $object->models) as $hook) { $temp = module_invoke_all($hook, $object); @@ -1044,9 +1042,6 @@ function islandora_view_object(AbstractObject $object) { module_load_include('inc', 'islandora', 'includes/breadcrumb'); module_load_include('inc', 'islandora', 'includes/utilities'); - drupal_set_title($object->label); - drupal_set_breadcrumb(islandora_get_breadcrumbs($object)); - // Optional pager parameters. $page_number = (empty($_GET['page'])) ? '1' : $_GET['page']; $page_size = (empty($_GET['pagesize'])) ? '10' : $_GET['pagesize'];