You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.4 KiB
45 lines
1.4 KiB
<?php |
|
|
|
/** |
|
* Implementation of hook_requried_fedora_objects() |
|
*/ |
|
function islandora_newspaper_required_fedora_objects() { |
|
// array( 'path-to-foxml-file', 'pid', 'dsid', 'path-to-datastream-file', int dsversion, boolean required) |
|
$module_path = drupal_get_path('module', 'islandora_newspaper'); |
|
return array( |
|
'islandora_newspaper' => array( |
|
'module' => 'islandora_newspaper', |
|
'title' => 'Islandora Newspaper', |
|
'objects' => array( |
|
array( |
|
'foxml_file' => "$module_path/newspapers_issueCModel.xml", |
|
'pid' => 'newspapers:issueCModel', |
|
'dsid' => NULL, |
|
'datastream_file' => NULL, |
|
'dsversion' => NULL, |
|
), |
|
array( |
|
'foxml_file' => "$module_path/newspapers_pageCModel.xml", |
|
'pid' => 'newspapers:pageCModel', |
|
'dsid' => NULL, |
|
'datastream_file' => NULL, |
|
'dsversion' => NULL, |
|
), |
|
array( |
|
'foxml_file' => "$module_path/newspapers_viewerSdep-issueCModel.xml", |
|
'pid' => 'newspapers:viewerSdep-issueCModel', |
|
'dsid' => NULL, |
|
'datastream_file' => NULL, |
|
'dsversion' => NULL, |
|
), |
|
array( |
|
'foxml_file' => "$module_path/newspapers_viewerSdep-pageCModel.xml", |
|
'pid' => 'newspapers:viewerSdep-pageCModel', |
|
'dsid' => NULL, |
|
'datastream_file' => NULL, |
|
'dsversion' => NULL, |
|
), |
|
), |
|
), |
|
); |
|
} |