Project

General

Profile

« Previous | Next » 

Revision 2e0c302b

Added by Andreas Kohlbecker about 3 years ago

ref #7599 ref #6866 specimen details tables - more tests also for deeper trees

View differences:

modules/cdm_dataportal/includes/occurrences_new.inc
128 128
    '#theme' => 'item_list',
129 129
    '#type' => 'ul',
130 130
    '#attributes' => [
131
      'class' => CDM_SPECIMEN_LIST_VIEW_MODE_OPTION_DERIVATE_TREE . ' derived-unit-sub-tree',
131
      // NOTE: class attribute "derived-unit-item" is important for consistency with subordinate <ul> elements produced by the drupal theme function
132
      'class' => CDM_SPECIMEN_LIST_VIEW_MODE_OPTION_DERIVATE_TREE . ' derived-unit-item derived-unit-sub-tree',
132 133
    ],
133 134
    '#items' => $list_items,
134 135
  ];

Also available in: Unified diff