function _webform_defaults_view in Webform view 7.4
Same name and namespace in other branches
- 7 webform_view.inc \_webform_defaults_view()
Implements _webform_defaults_component().
Define the extra params to save as settings for webform embedded view. Specifically - the view ID.
See also
_webform_select_view()
File
- ./
webform_view.inc, line 16 - Additional component for webform that allows views to be used as embeddable elements.
Code
function _webform_defaults_view() {
return array(
'name' => '',
'form_key' => NULL,
'mandatory' => 0,
'pid' => 0,
'weight' => 0,
'value' => '',
'extra' => array(
'view' => '',
'filter_field_id' => 'quantity',
'contextual_filters' => '',
'description' => '',
'private' => FALSE,
'title_display' => 0,
),
);
}