You are here

function element_property in Drupal 7

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

Checks if the key is a property.

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

File

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

Code

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