function element_child

Checks if the key is a child.

1 call to element_child()
theme_language_negotiation_configure_form in drupal/core/modules/language/language.admin.inc
Returns HTML for the language negotiation configuration form.

File

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

Code

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