Skip navigation
Help

element_child

6 common.inc element_child($key)
7 common.inc element_child($key)

Check if the key is a child.

2 calls to element_child()

File

drupal/includes/common.inc, line 6112
Common functions that many Drupal modules will need to reference.

Code

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