element_properties

Versions
4.7 – 7
element_properties($element)

Get properties of a form tree element. Properties begin with '#'.

Related topics

Code

includes/form.inc, line 26

<?php
function element_properties($element) {
  return array_filter(array_keys((array) $element), 'element_property');
}
?>
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.