You are here

function _log_action_date_form_submit in Log entity 7

Log action form with date field submit (helper function).

Parameters

array $form: The form passed into the action form submit function.

array $form_state: The form state passed into the action form submit function.

Return value

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

2 calls to _log_action_date_form_submit()
log_clone_action_submit in ./log.module
Log clone action configuration form submit.
log_reschedule_action_submit in ./log.module
Log reschedule action configuration form submit.

File

./log.module, line 720
Log - A general purpose record keeping system.

Code

function _log_action_date_form_submit(array $form, array $form_state) {
  return array(
    'timestamp' => $form_state['values']['timestamp'],
  );
}