Skip to content

Instantly share code, notes, and snippets.

@mjordan
Created January 12, 2014 22:51
Show Gist options
  • Save mjordan/8391784 to your computer and use it in GitHub Desktop.
Save mjordan/8391784 to your computer and use it in GitHub Desktop.
hook_CMODEL_PID_islandora_view_object()
<?php
/**
* Generate an object's display for the given content model.
*
* Content models PIDs have colons and hyphens changed to underscores,
* to create the hook name.
*
* @param AbstractObject $object
* A Tuque FedoraObject
*
* @return array
* An array whose values are markup.
*/
function hook_CMODEL_PID_islandora_view_object($object) {
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment