diff --git a/fedora_repository.install b/fedora_repository.install index de8f31e8..a90e33fc 100644 --- a/fedora_repository.install +++ b/fedora_repository.install @@ -93,4 +93,27 @@ function fedora_repository_requirements($phase) { } return $requirements; +} + +/** + * Invokes a hook to any dependent modules asking them if their installations require + * any fedora objects to be present. Modules implementing this hook should return an array + * of arrays of the form: + * + * array( 'pid', 'path-to-foxml-file', 'dsid', 'path-to-datastream-file', int dsversion) + * + * where the last three options are optional. A module can either point to a simple + * foxml file to install, or can specify a datastreamstream to check for, with a + * path to load the datastream from if it isn't there. Optionally a version number + * can be included, to enable updating of content model or collection policy streams + * that may have been updated. THis is a simple whole number that should be incremented + * when changed. This value appears in as an attribute of the topmost element of the stream, + * e.g.,: + * + *