form_process_container

Versions
7
form_process_container($element, &$form_state)

Processes a container element.

Parameters

$element An associative array containing the properties and children of the container.

$form_state The $form_state array for the form this element belongs to.

Return value

The processed element.

Related topics

Code

includes/form.inc, line 2279

<?php
function form_process_container($element, &$form_state) {
  $element['#id'] = drupal_html_id(implode('-', $element['#parents']) . '-wrapper');
  return $element;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.