Skip to content

Instantly share code, notes, and snippets.

@mjordan
Created January 12, 2014 18:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjordan/8388642 to your computer and use it in GitHub Desktop.
Save mjordan/8388642 to your computer and use it in GitHub Desktop.
Implementation of example hook
<?php
/**
* Implements hook_islandora_object_ingested().
*
* Create technical metadata (specifically FITS) datastreams for the
* input object.
*/
function islandora_fits_islandora_object_ingested(AbstractObject $object) {
module_load_include('inc', 'islandora_fits', 'includes/utilities');
islandora_fits_create_techmd($object);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment