|
|
@ -23,7 +23,7 @@ function islandora_derivatives_test_some_cmodel_islandora_derivative() { |
|
|
|
'destination_dsid' => 'STANLEY', |
|
|
|
'destination_dsid' => 'STANLEY', |
|
|
|
'weight' => '-1', |
|
|
|
'weight' => '-1', |
|
|
|
'function' => array( |
|
|
|
'function' => array( |
|
|
|
'islandora_derivatives_test_create_some_stanley_datastream', |
|
|
|
'islandora_derivatives_test_create_stanley_datastream', |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
array( |
|
|
|
array( |
|
|
@ -88,7 +88,7 @@ function islandora_derivatives_test_create_deriv_datastream(AbstractObject $obje |
|
|
|
* @param bool $force |
|
|
|
* @param bool $force |
|
|
|
* Whether the derivatives are being forcefully generated or not. |
|
|
|
* Whether the derivatives are being forcefully generated or not. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function islandora_derivatives_test_create_some_stanley_datastream(AbstractObject $object, $force = FALSE) { |
|
|
|
function islandora_derivatives_test_create_stanley_datastream(AbstractObject $object, $force = FALSE) { |
|
|
|
global $_islandora_derivative_test_derivative_functions; |
|
|
|
global $_islandora_derivative_test_derivative_functions; |
|
|
|
// Add to the global that we got to this function. |
|
|
|
// Add to the global that we got to this function. |
|
|
|
$_islandora_derivative_test_derivative_functions[] = 'islandora_derivatives_test_create_some_weird_datastream'; |
|
|
|
$_islandora_derivative_test_derivative_functions[] = 'islandora_derivatives_test_create_some_weird_datastream'; |
|
|
|