You are here

function _webform_defaults_grid in Webform 7.4

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

Implements _webform_defaults_component().

File

components/grid.inc, line 14
Webform module grid component.

Code

function _webform_defaults_grid() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'required' => 0,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'extra' => array(
      'options' => '',
      'questions' => '',
      'optrand' => 0,
      'qrand' => 0,
      'unique' => 0,
      'title_display' => 0,
      'custom_option_keys' => 0,
      'custom_question_keys' => 0,
      'sticky' => TRUE,
      'description' => '',
      'description_above' => FALSE,
      'private' => FALSE,
      'analysis' => TRUE,
    ),
  );
}