t('Ingest Route Name'), 'url' => 'ingest_route/url', 'weight' => 0, ), ); return $reg; } /** * Register a datastream edit route/form. * * @param $islandora_object * @param $ds_id */ function hook_islandora_edit_datastream_registry($islandora_object, $ds_id) {} /** * Alter an object before it gets used further down the stack. * * @param type $object * A Tuque FedoraObject */ function hook_islandora_object_alter($fedora_object) {} /** * Allow modification of an object before ingesting. * * @param type $islandora_object * A Tuque FedoraObject * @param array $content_models * @param string $collection_pid */ function hook_islandora_ingest_pre_ingest($islandora_object, $content_models, $collection_pid) {} /** * Allow modification of objects of a certain content model before ingesting. * * @see hook_islandora_ingest_pre_ingest() */ function hook_CMODEL_PID_islandora_ingest_pre_ingest($islandora_object, $content_models, $collection_pid) {} /** * Allow modules to setup for the purge of a datastream. * * @param object $datastream * A Tuque FedoraDatastream object. */ function hook_islandora_pre_purge_datastream($datastream) {} /** * Allow modules to react after a datastream is purged. * * @param object $object * A Tuque FedoraObject. * @param string $dsid * A id of the former datastream. */ function hook_islandora_post_purge_datastream($object, $dsid) {} /** * Allow modules to react post-purge. * * @param string $object_id * The former object's PID. * @param array $content_models * An array containing the models to which the former object. */ function hook_islandora_post_purge_object($object_id, $content_models) {}