From 3ab2cb97bf166fcd7bc3ba9066fd6dab1a75f9a9 Mon Sep 17 00:00:00 2001 From: William Panting Date: Tue, 26 Feb 2013 12:38:11 -0400 Subject: [PATCH] better islandora_tabs_alter doc --- fedora_repository.api.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fedora_repository.api.php b/fedora_repository.api.php index 3fb23dc4..a37758a4 100644 --- a/fedora_repository.api.php +++ b/fedora_repository.api.php @@ -38,8 +38,14 @@ function hook_islandora_tabs($content_models, $pid, $page_number) { * * @param array $tabs * The tab set to be altered. + * @param array $params + * $params = array( + * 'content_models' => $content_models, + * 'pid' => $pid, + * 'page' => $page_number, + * ); */ -function hook_islandora_tabs_alter($tabs) { +function hook_islandora_tabs_alter($tabs, $params) { $tabs['fedora_object_details']['altered']['#value'] = '
ALTERED
'; }