Drupal modules for browsing and managing Fedora-based digital repositories.
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.
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* This is the new Islandora Collection module.
|
|
|
|
*/
|
|
|
|
|
|
|
|
define('ISLANDORA_COLLECTION_BUNDLE', 'collection');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implements hook_views_api().
|
|
|
|
*/
|
|
|
|
function islandora_collection_views_api() {
|
|
|
|
return array(
|
|
|
|
'api' => 3.0,
|
|
|
|
'path' => drupal_get_path('module', 'islandora_collection') . '/include',
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Function for using a form.
|
|
|
|
*
|
|
|
|
* @param string $node
|
|
|
|
* The Drupal node.
|
|
|
|
* @param array $form_state
|
|
|
|
* The Drupal form state.
|
|
|
|
*/
|
|
|
|
function islandora_collection_form($node, array &$form_state) {
|
|
|
|
return node_content_form($node, $form_state);
|
|
|
|
}
|