You are here

function _webform_defaults_serial in Webform Serial 7

Implements _webform_defaults_component().

File

components/serial.inc, line 10
Webform module serial component.

Code

function _webform_defaults_serial() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'mandatory' => 0,
    'extra' => array(
      'initial' => 1,
      'increment' => 1,
      'private' => FALSE,
    ),
  );
}