1.20.x common.inc element_properties($element)

Gets properties of a structured array element (keys beginning with '#').

File

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

Code

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