You are here

function _webform_defaults_grid in Webform 7.3

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.4 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,
    'mandatory' => 0,
    'pid' => 0,
    'weight' => 0,
    'extra' => array(
      'options' => '',
      'questions' => '',
      'optrand' => 0,
      'qrand' => 0,
      'title_display' => 0,
      'custom_option_keys' => 0,
      'custom_question_keys' => 0,
      'description' => '',
      'private' => FALSE,
    ),
  );
}