function element_property

element_property($key)

Checks if the key is a property.

File

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

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!common.inc/function/element_property/7.x