function element_property

7.x common.inc element_property($key)

Checks if the key is a property.

1 string reference to 'element_property'
element_properties in drupal/includes/common.inc
Gets properties of a structured array element (keys beginning with '#').

File

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

Code

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