|
|
@ -868,9 +868,9 @@ function hook_islandora_edit_datastream_registry_alter(&$edit_registry, $context |
|
|
|
unset($edit_registry['xml_form_builder_edit_form_registry']); |
|
|
|
unset($edit_registry['xml_form_builder_edit_form_registry']); |
|
|
|
} |
|
|
|
} |
|
|
|
// Add custom form to replace the removed form builder edit_form. |
|
|
|
// Add custom form to replace the removed form builder edit_form. |
|
|
|
$edit_registry['somemodule_custom_form'] = array( |
|
|
|
$edit_registry['somemodule_custom_form'] = array( |
|
|
|
'name' => t('Somemodule Custom Form'), |
|
|
|
'name' => t('Somemodule Custom Form'), |
|
|
|
'url' => "islandora/custom_form/{$context['object']->id}/{$context['datastream']->id}" |
|
|
|
'url' => "islandora/custom_form/{$context['object']->id}/{$context['datastream']->id}", |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|