Browse Source

documenting some hooks

pull/379/head
William Panting 11 years ago
parent
commit
30143772f5
  1. 31
      islandora.api.php

31
islandora.api.php

@ -541,3 +541,34 @@ function hook_islandora_datastream_access($op, $object, $user) {
*/ */
function hook_CMODEL_PID_islandora_datastream_access($op, $object, $user) { function hook_CMODEL_PID_islandora_datastream_access($op, $object, $user) {
} }
/**
* Lets one add to the overview tab in object management.
*/
function hook_islandora_overview_object(AbstractObject $object) {
return drupal_render(drupal_get_form('some_form', $object));
}
/**
* Lets one add to the overview tab in object management.
*
* Content model specific.
*/
function hook_CMODEL_PID_islandora_overview_object(AbstractObject $object) {
return drupal_render(drupal_get_form('some_form', $object));
}
/**
* Lets one alter the overview tab in object management.
*/
function hook_islandora_overview_object_alter(AbstractObject &$object, &$output) {
$output = $output . drupal_render(drupal_get_form('some_form', $object));
}
/**
* Lets one alter the overview tab in object management.
*
* Content model specific.
*/
function hook_CMODEL_PID_islandora_overview_object_alter(AbstractObject &$object, &$output) {
$output = $output . drupal_render(drupal_get_form('some_form', $object));
}

Loading…
Cancel
Save