function element_properties in Drupal 4
Same name and namespace in other branches
- 5 includes/common.inc \element_properties()
- 6 includes/common.inc \element_properties()
- 7 includes/common.inc \element_properties()
Get properties of a form tree element. Properties begin with '#'.
Related topics
File
- includes/
form.inc, line 26
Code
function element_properties($element) {
return array_filter(array_keys((array) $element), 'element_property');
}