You are here

function _webform_defaults_textarea in Webform 6.2

Same name and namespace in other branches
  1. 5.2 components/textarea.inc \_webform_defaults_textarea()
  2. 6.3 components/textarea.inc \_webform_defaults_textarea()
  3. 7.4 components/textarea.inc \_webform_defaults_textarea()
  4. 7.3 components/textarea.inc \_webform_defaults_textarea()

Create a default textarea component.

File

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

Code

function _webform_defaults_textarea() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'mandatory' => 0,
    'email' => 1,
    'extra' => array(
      'cols' => '',
      'rows' => '',
      'resizable' => 1,
      'disabled' => 0,
      'description' => '',
      'attributes' => array(),
    ),
  );
}