Same name and namespace in other branches
- 4.7.x includes/form.inc \element_property()
- 5.x includes/common.inc \element_property()
- 6.x 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 6686 - Common functions that many Drupal modules will need to reference.
Code
function element_property($key) {
return $key !== '' && is_string($key) && $key[0] == '#';
}