element_children

Definition

element_children($element)
includes/common.inc, line 2823

Description

Get keys of a structured array tree element that are not properties (i.e., do not begin with '#').

Code

<?php
function element_children($element) {
  return array_filter(array_keys((array) $element), 'element_child');
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.