function form_process_actions

Processes a form actions container element.

Parameters

$element: An associative array containing the properties and children of the form actions 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_actions'
system_element_info in modules/system/system.module
Implements hook_element_info().

File

includes/form.inc, line 3378

Code

function form_process_actions($element, &$form_state) {
    $element['#attributes']['class'][] = 'form-actions';
    return $element;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.