You are here

function element_property in Drupal 5

Same name and namespace in other branches
  1. 4 includes/form.inc \element_property()
  2. 6 includes/common.inc \element_property()
  3. 7 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] == '#';
}