You are here

function _webform_defaults_email in Webform 7.4

Same name and namespace in other branches
  1. 5.2 components/email.inc \_webform_defaults_email()
  2. 6.3 components/email.inc \_webform_defaults_email()
  3. 6.2 components/email.inc \_webform_defaults_email()
  4. 7.3 components/email.inc \_webform_defaults_email()

Implements _webform_defaults_component().

File

components/email.inc, line 11
Webform module email component.

Code

function _webform_defaults_email() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'required' => 0,
    'extra' => array(
      'multiple' => 0,
      'format' => 'short',
      'width' => '',
      'unique' => 0,
      'disabled' => 0,
      'title_display' => 0,
      'description' => '',
      'description_above' => FALSE,
      'placeholder' => '',
      'attributes' => array(),
      'private' => FALSE,
      'analysis' => FALSE,
    ),
  );
}