Skip navigation
Help

element_properties

6 common.inc element_properties($element)
7 common.inc element_properties($element)

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

1 call to element_properties()

File

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

Code

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