function form_process_actions
form_process_actions($element, &$form_state)
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
File
- includes/form.inc, line 3361
- Functions for form and batch generation and processing.
Code
function form_process_actions($element, &$form_state) { $element['#attributes']['class'][] = 'form-actions'; return $element; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!form.inc/function/form_process_actions/7.x