public static Element::child($key)
Checks if the key is a child.
string $key: The key to check.
bool TRUE if the element is a child, FALSE otherwise.
public static function child($key) { return !isset($key[0]) || $key[0] != '#'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!Element.php/function/Element::child/8.1.x