| Versions | |
|---|---|
| 7 | form_process_actions($element, &$form_state) |
Processes a form actions container element.
$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.
The processed element.
drupal/
<?php
function form_process_actions($element, &$form_state) {
$element['#attributes']['class'][] = 'form-actions';
return $element;
}
?>