function element_properties
7.x common.inc | element_properties($element) |
6.x common.inc | element_properties($element) |
Gets properties of a structured array element (keys beginning with '#').
1 call to element_properties()
- filter_process_format in drupal-7.x/
modules/ filter/ filter.module - Expands an element into a base element with text format selector attached.
File
- drupal-7.x/
includes/ common.inc, line 6390 - Common functions that many Drupal modules will need to reference.
Code
function element_properties($element) {
return array_filter(array_keys((array) $element), 'element_property');
}