From bf41ad4442c47179ed7d88d13f2e423b59a9218d Mon Sep 17 00:00:00 2001 From: Jared Whiklo Date: Fri, 3 Jun 2016 16:06:45 -0500 Subject: [PATCH] Add more attribution and remove unused path. --- islandora.api.php | 2 ++ islandora.module | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/islandora.api.php b/islandora.api.php index 0dd065d9..e505b90a 100644 --- a/islandora.api.php +++ b/islandora.api.php @@ -937,6 +937,8 @@ function hook_islandora_breadcrumbs_backends() { /** * Generate an array of links for breadcrumbs leading to $object, root level first. * + * Stolen shamelessly from @adam-vessey + * * @param AbstractObject $object * The object to generate breadcrumbs for * diff --git a/islandora.module b/islandora.module index f2e8ecc2..b0bdbd78 100644 --- a/islandora.module +++ b/islandora.module @@ -2178,7 +2178,6 @@ function islandora_create_manage_overview(AbstractObject $object) { * Implements hook_islandora_breadcrumbs_backends(). */ function islandora_islandora_breadcrumbs_backends() { - $module_path = drupal_get_path('module', 'islandora'); return array( ISLANDORA_BREADCRUMB_LEGACY_BACKEND => array( 'title' => t('Resource Index - Default'),