|
|
@ -273,9 +273,7 @@ function pidfield_field_formatter_info() { |
|
|
|
* |
|
|
|
* |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function theme_pidfield_formatter_default($element) { |
|
|
|
function theme_pidfield_formatter_default($element) { |
|
|
|
//return $element['#item']['safe']; |
|
|
|
|
|
|
|
$pid = $element['#item']['safe']; |
|
|
|
$pid = $element['#item']['safe']; |
|
|
|
|
|
|
|
|
|
|
|
if(!empty($pid)) { |
|
|
|
if(!empty($pid)) { |
|
|
|
return fedora_repository_get_items($pid); |
|
|
|
return fedora_repository_get_items($pid); |
|
|
|
} |
|
|
|
} |
|
|
|