You are here

function farm_log_assign_action_submit in farmOS 7

Log assign action configuration form submit.

Parameters

array $form: The form array.

array $form_state: The form state array.

Return value

array Returns an array that will end up in the action's context.

File

modules/farm/farm_log/farm_log.module, line 242
Code for the Farm Log feature.

Code

function farm_log_assign_action_submit(array $form, array $form_state) {
  return array(
    'users' => $form_state['values']['users'],
    'operation' => $form_state['values']['operation'],
  );
}