Same name and namespace in other branches
  1. 5.x includes/common.inc \element_child()
  2. 6.x includes/common.inc \element_child()
  3. 7.x includes/common.inc \element_child()

Check if the key is a child.

Related topics

1 string reference to 'element_child'
element_children in includes/form.inc
Get keys of a form tree element that are not properties (i.e., do not begin with '#').

File

includes/form.inc, line 33

Code

function element_child($key) {
  return $key[0] != '#';
}