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

Check if the key is a property.

Related topics

1 string reference to 'element_property'
element_properties in includes/common.inc
Get properties of a structured array element. Properties begin with '#'.

File

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

Code

function element_property($key) {
  return $key[0] == '#';
}