Islandora/islandora — pull request #193 by adam-vessey (2012-10-29 13:39:13+00:00)
Title: Alter hook calls and update documentation to reflect it.

Needed to be able to "extend" a content model, as in to add to it's functionality... To avoid a great deal of copy/pasting code (which would have been necessary with the old structure, due to where it made the cmodel checks), it seemed reasonable to push the check back into an "invoke" function which can call the hook implementations explicitly... Then, it is just necessary to inform the invoke function of which implementations need to be called--which is done via (the now poorly named?) hook_islandora_get_types().