function _webform_defaults_grid in Webform 5.2
Same name and namespace in other branches
- 6.3 components/grid.inc \_webform_defaults_grid()
- 6.2 components/grid.inc \_webform_defaults_grid()
- 7.4 components/grid.inc \_webform_defaults_grid()
- 7.3 components/grid.inc \_webform_defaults_grid()
Create a default grid component.
File
- components/
grid.inc, line 11 - Webform module grid component.
Code
function _webform_defaults_grid() {
return array(
'name' => '',
'form_key' => NULL,
'email' => 1,
'mandatory' => 0,
'pid' => 0,
'weight' => 0,
'extra' => array(
'options' => '',
'questions' => '',
'optrand' => 0,
'qrand' => 0,
'description' => '',
),
);
}