function element_child
7.x common.inc | element_child($key) |
6.x common.inc | element_child($key) |
Checks if the key is a child.
2 calls to element_child()
- theme_locale_languages_configure_form in drupal-7.x/
modules/ locale/ locale.admin.inc - Returns HTML for a language configuration form.
- theme_locale_languages_overview_form in drupal-7.x/
modules/ locale/ locale.admin.inc - Returns HTML for the language overview form.
File
- drupal-7.x/
includes/ common.inc, line 6397 - Common functions that many Drupal modules will need to reference.
Code
function element_child($key) {
return !isset($key[0]) || $key[0] != '#';
}