You are here

function clock_edit_form in Clock 7.2

Form builder for the clock edit form.

Parameters

$clock: A clock object as returned by clock_info().

See also

clock_edit_form_submit()

clock_form()

1 string reference to 'clock_edit_form'
clock_menu in ./clock.module
Implements hook_menu().

File

./clock.admin.inc, line 199
Page generation functions for the administrative pages.

Code

function clock_edit_form($form, &$form_state, $clock) {
  $form = array();
  $form['cid'] = array(
    '#type' => 'value',
    '#value' => $clock->cid,
  );
  return clock_form($form, $form_state, $clock);
}