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.
 
 
 
 

29 lines
697 B

<?php
/**
* @file
* This is the new Islandora Basic Image module.
*/
define('ISLANDORA_BASIC_IMAGE_CONTENT_TYPE', 'islandora_basic_image');
define('ISLANDORA_BASIC_IMAGE_MEDIUM_SIZE_FIELD', 'field_medium_size');
/**
* Implements hook_node_info().
*/
function islandora_basic_image_node_info() {
return array(
ISLANDORA_BASIC_IMAGE_CONTENT_TYPE => array(
'name' => t("Basic Image"),
'base' => ISLANDORA_BASIC_IMAGE_CONTENT_TYPE,
'description' => t("A Drupal node modeling a basic image pcdm:Object"),
),
);
}
/**
* Implements hook_form().
*/
function islandora_basic_image_form($node, array &$form_state) {
return node_content_form($node, $form_state);
}