element_children

Definition

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

Description

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

Related topics

Namesort iconDescription
Input validationFunctions to validate user input.

Code

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