Skip to content

Instantly share code, notes, and snippets.

View rupertj's full-sized avatar

Rupert Jabelman rupertj

View GitHub Profile
@rupertj
rupertj / merge item_list items.php
Created November 29, 2012 17:00 — forked from waako/merge item_list items.php
merge two items to be rendered in item_list
$variables['planning'] = array(
'#theme' => 'item_list',
'#items' => array(),
'#attributes' => array(
'class' => 'icons-info unstyled floated',
)
);
$all_terms = array_merge($variables['field_bbcgf_planning'], $variables['field_bbcgf_diet'], $variables['field_bbcgf_healthy']);