Browse Source

Update islandora.api.php

Added hook_alter for ingest steps.
pull/455/merge
Nigel Banks 11 years ago
parent
commit
a9443ac5cb
  1. 25
      islandora.api.php

25
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(). * 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) { 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. * Object-level access callback hook.
* *

Loading…
Cancel
Save