element_properties

Definition

element_properties($element)
includes/form.inc, line 26

Description

Get properties of a form tree element. Properties begin with '#'.

Related topics

Namesort iconDescription
Form generationFunctions to enable output of HTML forms and form elements.

Code

<?php
function element_properties($element) {
  return array_filter(array_keys((array) $element), 'element_property');
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.