Browse Source

Add alterable breadcrumbs to Islandora.

pull/399/head
Jordan Dukart 11 years ago
parent
commit
7fef116c00
  1. 1
      includes/breadcrumb.inc
  2. 7
      islandora.api.php

1
includes/breadcrumb.inc

@ -27,6 +27,7 @@
function islandora_get_breadcrumbs($object) {
$breadcrumbs = islandora_get_breadcrumbs_recursive($object->id, $object->repository);
array_pop($breadcrumbs);
drupal_alter('islandora_breadcrumbs', $breadcrumbs);
return $breadcrumbs;
}

7
islandora.api.php

@ -648,3 +648,10 @@ function hook_islandora_derivative() {
function hook_CMODEL_PID_islandora_derivative() {
}
/**
* Alters breadcrumbs used on Solr search results and collection views.
*/
function hook_islandora_breadcrumbs_alter(&$breadcrumbs) {
}

Loading…
Cancel
Save