|
|
@ -2175,6 +2175,7 @@ function islandora_islandora_get_breadcrumb_query_predicates(AbstractObject $obj |
|
|
|
* Implements hook_islandora_overview_object(). |
|
|
|
* Implements hook_islandora_overview_object(). |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function islandora_islandora_overview_object(AbstractObject $object) { |
|
|
|
function islandora_islandora_overview_object(AbstractObject $object) { |
|
|
|
|
|
|
|
if (is_object($object)) { |
|
|
|
$cmodels = $object->models; |
|
|
|
$cmodels = $object->models; |
|
|
|
$rows = array(); |
|
|
|
$rows = array(); |
|
|
|
foreach ($cmodels as $cmodel) { |
|
|
|
foreach ($cmodels as $cmodel) { |
|
|
@ -2189,4 +2190,5 @@ function islandora_islandora_overview_object(AbstractObject $object) { |
|
|
|
'rows' => $rows, |
|
|
|
'rows' => $rows, |
|
|
|
'empty' => t('No Islandora content model associated with this object.'))); |
|
|
|
'empty' => t('No Islandora content model associated with this object.'))); |
|
|
|
return array('cmodels' => $table); |
|
|
|
return array('cmodels' => $table); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|