Browse Source

Added a new sp architecture based around alans ideas

pull/81/head
Ben Woodhead 13 years ago
parent
commit
63ac3d44d3
  1. 11
      fedora_repository.newsp.inc
  2. 2
      fedora_repository.solutionpacks.inc
  3. 11
      formClass.inc

11
fedora_repository.newsp.inc

@ -0,0 +1,11 @@
<?php
function fedora_repository_newsp_page()
{
$solution_packs = array();
$enabled_solution_packs = module_invoke_all('setup_defaults', $solution_packs);
var_dump($solution_packs);
var_dump($enabled_solution_packs);
}
?>

2
fedora_repository.solutionpacks.inc

@ -308,3 +308,5 @@ function solution_pack_unregister_form_association($mods_form_name, $content_mod
{
}

11
formClass.inc

@ -48,7 +48,16 @@ class formClass {
'file' => 'fedora_repository.solutionpacks.inc',
'type' => MENU_LOCAL_TASK,
);
$items['admin/settings/fedora_repository/newsp'] = array(
'title' => t('New Solution Packs'),
'description' => t('Install content models and collections required by installed solution packs.'),
'page callback' => 'fedora_repository_newsp_page',
'access arguments' => array('add fedora datastreams'),
'file' => 'fedora_repository.newsp.inc',
'type' => MENU_LOCAL_TASK,
);
$items['islandoracm.xsd'] = array(
'title' => t('Islandora Content Model XML Schema Definition'),
'page callback' => 'fedora_repository_display_schema',

Loading…
Cancel
Save