'#description' => t('Derivatives can be regenerated at a later time. <p><strong>Datastream(s) to be purged: </strong></p>@dsid, @derivs', array('@dsid' => $datastream->id, '@derivs' => $derivs)),
);
);
return confirm_form($form,
return confirm_form($form,
t('Are you sure you want to delete the %dsid datastream?', array('%dsid' => $datastream->id)),
t('Are you sure you want to delete the %dsid datastream?', array('%dsid' => $datastream->id)),
@ -33,18 +37,34 @@ function islandora_delete_datastream_form(array $form, array &$form_state, Abstr
t('Cancel')
t('Cancel')
);
);
}
}
/**
/**
* Purge a given DSID's derivative datastreams on an object.
* Return $dsids based on a given DSID and filter.
*/
*/
function islandora_datastream_derivatives_purged(AbstractObject $object, $dsid) {
function islandora_datastream_to_purge(AbstractObject $object, $dsid) {