function get_image_form_item_recursive in Node Gallery 6
Same name and namespace in other branches
- 6.2 node_gallery.pages.inc \get_image_form_item_recursive()
1 call to get_image_form_item_recursive()
File
- ./
node_gallery.pages.inc, line 308 - Node gallery pages.
Code
function get_image_form_item_recursive($form, $field) {
if ($form[$field]) {
return $form[$field];
}
elseif ($children = element_children($form)) {
foreach ($children as $child) {
get_image_form_item_recursive($form[$child], $field);
}
}
return;
}