function farm_flags_action_submit in farmOS 7
Configuration form submit for farm_flags_action.
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_flags/ farm_flags.module, line 211 - Farm flags module.
Code
function farm_flags_action_submit(array $form, array $form_state) {
return array(
'entity_type' => $form_state['values']['entity_type'],
'flags' => $form_state['values']['flags'],
'operation' => $form_state['values']['operation'],
);
}