You are here

function element_properties in Drupal 5

Same name and namespace in other branches
  1. 4 includes/form.inc \element_properties()
  2. 6 includes/common.inc \element_properties()
  3. 7 includes/common.inc \element_properties()

Get properties of a structured array element. Properties begin with '#'.

Related topics

File

includes/common.inc, line 2361
Common functions that many Drupal modules will need to reference.

Code

function element_properties($element) {
  return array_filter(array_keys((array) $element), 'element_property');
}