3.0, 'path' => drupal_get_path('module', 'islandora_collection') . '/include', ); } /** * Implements hook_node_info(). */ function islandora_collection_node_info() { return array( ISLANDORA_COLLECTION_CONTENT_TYPE => array( 'name' => t("Collection"), 'base' => ISLANDORA_COLLECTION_CONTENT_TYPE, 'description' => t("A Drupal node modeling an pcdm:Collection."), ), ); } /** * Implements hook_form(). */ function islandora_collection_form($node, array &$form_state) { return node_content_form($node, $form_state); } /** * Implements hook_rdf_mapping(). */ function islandora_collection_rdf_mapping() { module_load_include('inc', 'islandora', 'include/rdf_mapping'); return islandora_get_default_rdf_mapping(ISLANDORA_COLLECTION_CONTENT_TYPE, ISLANDORA_COLLECTION_RDF_TYPE); } /** * Implements hook_insert(). */ function islandora_collection_insert($node) { } /** * Implements hook_update(). */ function islandora_collection_update($node) { }