function _webform_defaults_markup in Webform 6.2
Same name and namespace in other branches
- 5.2 components/markup.inc \_webform_defaults_markup()
- 6.3 components/markup.inc \_webform_defaults_markup()
- 7.4 components/markup.inc \_webform_defaults_markup()
- 7.3 components/markup.inc \_webform_defaults_markup()
Create a default markup component.
File
- components/
markup.inc, line 11 - Webform module markup component.
Code
function _webform_defaults_markup() {
return array(
'name' => '',
'form_key' => NULL,
'pid' => 0,
'weight' => 0,
'value' => '',
'extra' => array(
'format' => FILTER_FORMAT_DEFAULT,
),
);
}