Browse Source

Merge pull request #271 from willtp87/6.x

better islandora_tabs_alter doc
pull/270/merge
mitchmac 12 years ago
parent
commit
86de6f2c23
  1. 8
      fedora_repository.api.php

8
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'] = '<H5>ALTERED</H5>';
}

Loading…
Cancel
Save