Browse Source

Merge pull request #269 from willtp87/6.x

documenting islandora_tabs_alter
pull/277/head
Jonathan Green 12 years ago
parent
commit
2d76ce5236
  1. 11
      fedora_repository.api.php

11
fedora_repository.api.php

@ -32,6 +32,17 @@ function hook_islandora_tabs($content_models, $pid, $page_number) {
return $tabset; return $tabset;
} }
/**
* Implements hook_islandora_tabs_alter().
* This fires after the tabs have been populated.
*
* @param array $tabs
* The tab set to be altered.
*/
function hook_islandora_tabs_alter($tabs) {
$tabs['fedora_object_details']['altered']['#value'] = '<H5>ALTERED</H5>';
}
/** /**
* Implements hook_postprocess_solution_pack(). * Implements hook_postprocess_solution_pack().
* This hook fires after the batch job to ingest a solution pack finishes. * This hook fires after the batch job to ingest a solution pack finishes.

Loading…
Cancel
Save