element_child

Versions
4.7 – 7
element_child($key)

Check if the key is a child.

Code

includes/common.inc, line 5349

<?php
function element_child($key) {
  return !isset($key[0]) || $key[0] != '#';
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.