Browse Source

Merge pull request #628 from willtp87/7.x-ISLANDORA-1366

Some datastream improvements.
pull/638/head
Nick Ruest 9 years ago
parent
commit
a23d4934f4
  1. 4
      islandora.module

4
islandora.module

@ -1382,9 +1382,9 @@ function islandora_islandora_required_objects(IslandoraTuque $connection) {
$root_collection->label = 'Top-level Collection'; $root_collection->label = 'Top-level Collection';
$root_collection->models = 'islandora:collectionCModel'; $root_collection->models = 'islandora:collectionCModel';
// Collection Policy Datastream. // Collection Policy Datastream.
$datastream = $root_collection->constructDatastream('COLLECTION_POLICY', 'X'); $datastream = $root_collection->constructDatastream('COLLECTION_POLICY', 'M');
$datastream->label = 'Collection policy'; $datastream->label = 'Collection policy';
$datastream->mimetype = 'text/xml'; $datastream->mimetype = 'application/xml';
$datastream->setContentFromFile("$module_path/xml/islandora_collection_policy.xml", FALSE); $datastream->setContentFromFile("$module_path/xml/islandora_collection_policy.xml", FALSE);
$root_collection->ingestDatastream($datastream); $root_collection->ingestDatastream($datastream);
// TN Datastream. // TN Datastream.

Loading…
Cancel
Save