Revision e050fcf2
Added by Andreas Kohlbecker over 2 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
2805 | 2805 |
|
2806 | 2806 |
$foot_note_keys = []; |
2807 | 2807 |
foreach ($cdm_entities as $cdm_entity) { |
2808 |
$foot_note_keys[] = array_merge($foot_note_keys, cdm_entity_annotations_as_footnotekeys($cdm_entity,$footnote_list_key_suggestion));
|
|
2808 |
$foot_note_keys = array_merge($foot_note_keys, cdm_entity_annotations_as_footnotekeys($cdm_entity,$footnote_list_key_suggestion)); |
|
2809 | 2809 |
} |
2810 | 2810 |
|
2811 | 2811 |
return $foot_note_keys; |
... | ... | |
2829 | 2829 |
*/ |
2830 | 2830 |
function cdm_entity_annotations_as_footnotekeys(stdClass $cdm_entity, $footnote_list_key_suggestion = NULL) { |
2831 | 2831 |
|
2832 |
$foot_note_keys = array();
|
|
2832 |
$foot_note_keys = [];
|
|
2833 | 2833 |
|
2834 | 2834 |
// Getting the key for the footnotemanager. |
2835 | 2835 |
if (isset($footnote_list_key_suggestion)) { |
Also available in: Unified diff
fixing unsuccessful refactoring of annotation functions