function form_process_container

Processes a container element.


$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

1 string reference to 'form_process_container'
system_element_info in drupal/modules/system/system.module
Implements hook_element_info().


drupal/includes/, line 3380
Functions for form and batch generation and processing.


function form_process_container($element, &$form_state) {

  // Generate the ID of the element if it's not explicitly given.
  if (!isset($element['#id'])) {
    $element['#id'] = drupal_html_id(implode('-', $element['#parents']) . '-wrapper');
  return $element;