function element_properties

element_properties($element)

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

File

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

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!common.inc/function/element_properties/7.x