From 53ab8037d46921bb56697d37e3bb6c7c6b5aa811 Mon Sep 17 00:00:00 2001 From: Jared Whiklo Date: Fri, 7 Oct 2016 12:10:00 -0500 Subject: [PATCH] Fix code style and add some docs to README --- README.md | 3 +++ includes/breadcrumb.inc | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2fa63284..337bacd3 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,9 @@ The `islandora_drupal_filter` passes the username of 'anonymous' through to Fedo Drupal's cron can be run to remove expired authentication tokens. +**Breadcrumb Generation** on the configuration page, allows you to choose the default breadcrumb generation + or a custom method (if implemented). + ### Customization [Customize ingest forms](http://github.com/Islandora/islandora/wiki/Multi-paged-Ingest-Forms) diff --git a/includes/breadcrumb.inc b/includes/breadcrumb.inc index 0d5db9f4..afba4c4b 100644 --- a/includes/breadcrumb.inc +++ b/includes/breadcrumb.inc @@ -47,10 +47,11 @@ function islandora_get_breadcrumbs(AbstractObject $object) { /** * Call the legacy SPARQL recursive function and return the correct breadcrumbs. * - * @param $pid + * @param string $pid * The object id whose parent will be fetched for the next link. * @param \IslandoraFedoraRepository $repository * The fedora repository. + * * @return array * An array of links representing the breadcrumb trail, "root" first. */