From 3a57a2ce022a57970d519031c2b6d184e7587b68 Mon Sep 17 00:00:00 2001 From: Alan Stanley Date: Thu, 10 Oct 2013 10:39:24 -0300 Subject: [PATCH] added ability to specify file for ingest callbacks --- islandora.api.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/islandora.api.php b/islandora.api.php index 24d24528..04d8bd49 100644 --- a/islandora.api.php +++ b/islandora.api.php @@ -427,17 +427,21 @@ function hook_islandora_undeletable_datastreams(array $models) { * - do_function: An associate array including: * - 'function': The callback function to be called. * - 'args': An array of arguments to pass to the callback function. + * - 'file': A file to include (relative to the module's path, including + * the file's extension). * - undo_function: An associate array including: * - 'function': The callback function to be called to reverse the * executed action in the ingest steps. * - 'args': An array of arguments to pass to the callback function. + * - 'file': A file to include (relative to the module's path, including + * the file's extension). * Shared parameters between both types: * - weight: The "weight" of this step--heavier(/"larger") values sink to the * end of the process while smaller(/"lighter") values are executed first. * Both types may optionally include: * - module: A module from which we want to load an include. * "Form" type may optionally include: - * - file: A file to include (relative to the module's path, including the + * - 'file': A file to include (relative to the module's path, including the * file's extension). */ function hook_islandora_ingest_steps(array $form_state) {