Skip to content

Instantly share code, notes, and snippets.

@mjordan
Last active January 3, 2016 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjordan/8388603 to your computer and use it in GitHub Desktop.
Save mjordan/8388603 to your computer and use it in GitHub Desktop.
Example Drupal / Islandora hook
<?php
/**
* Notify modules that the given object was ingested.
*
* This hook is called after an object has been successfully ingested.
*
* @note
* If ingested directly via the FedoraApiM object this will not be called
* as we don't have acces to the ingested object at that time.
*
* @param AbstractObject $object
* The object that was ingested.
*/
function hook_islandora_object_ingested(AbstractObject $object) {
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment