function 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 6686

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.