diff --git a/islandora.api.php b/islandora.api.php index 51aeb343..0534ffe7 100644 --- a/islandora.api.php +++ b/islandora.api.php @@ -466,6 +466,19 @@ function hook_islandora_ingest_steps(array $form_state) { ), ); } + +/** + * Alter the generated ingest steps. + * + * @param array $steps + * An array of steps as generated by hook_islandora_ingest_steps(). + * + * @param array $form_state + * An array containing the Drupal form_state. + */ +function hook_islandora_ingest_steps_alter(array &$steps, array &$form_state) { +} + /** * Content model specific version of hook_islandora_ingest_steps(). * @@ -479,6 +492,18 @@ function hook_islandora_ingest_steps(array $form_state) { function hook_CMODEL_PID_islandora_ingest_steps(array $form_state) { } +/** +* Alter the generated ingest steps for the given content model. + * + * @param array $steps + * An array of steps as generated by hook_islandora_ingest_steps(). + * + * @param array $form_state + * An array containing the Drupal form_state. + */ +function hook_CMODEL_PID_islandora_ingest_steps_alter(array &$steps, array &$form_state) { +} + /** * Object-level access callback hook. *