Browse Source

Update theme.inc

Updated documentation to include the newly added 'pid' value in the returned associative array.
pull/641/head
Morgan Dawe 9 years ago
parent
commit
d6afd6a1a1
  1. 1
      theme/theme.inc

1
theme/theme.inc

@ -257,6 +257,7 @@ function template_preprocess_islandora_objects(array &$variables) {
* - link: A string containing a textual HTML link to the object. * - link: A string containing a textual HTML link to the object.
* - thumb: A string containing an image HTML link to the object. * - thumb: A string containing an image HTML link to the object.
* - description: A string containing a description of the object. * - description: A string containing a description of the object.
* - pid: The object's PID.
*/ */
function islandora_objects_object_mapper($object_id) { function islandora_objects_object_mapper($object_id) {
$o = islandora_object_load($object_id); $o = islandora_object_load($object_id);

Loading…
Cancel
Save